From 3d3f98630d184270cc330c6e89d7088f73e1ad73 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Thu, 16 Dec 2021 15:50:07 -0700 Subject: [PATCH] Set versions in settings --- build.gradle | 8 ++++---- settings.gradle | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index fcde5f81..7edd3303 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ plugins { - id "com.diffplug.spotless" version "${spotlessVersion}" - id "com.github.spotbugs" version "${spotbugsVersion}" - id "com.github.node-gradle.node" version "${nodePluginVersion}" - id "com.star-zero.gradle.githook" version "${githooksVersion}" + id "com.diffplug.spotless" + id "com.github.spotbugs" + id "com.github.node-gradle.node" + id "com.star-zero.gradle.githook" id "eclipse-wtp" id "jacoco" id "java-library" diff --git a/settings.gradle b/settings.gradle index 749ab0a2..989a33fe 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,11 @@ +// Define versions here so other projects can import nshmp-lib locally. +pluginManagement { + plugins { + id "com.diffplug.spotless" version "${spotlessVersion}" + id "com.github.spotbugs" version "${spotbugsVersion}" + id "com.github.node-gradle.node" version "${nodePluginVersion}" + id "com.star-zero.gradle.githook" version "${githooksVersion}" + } +} + rootProject.name = "nshmp-lib" -- GitLab