diff --git a/build.gradle b/build.gradle
index fcde5f81242a5d39cd65862abfa95f3b6fb020b7..7edd33031019386310970fdd02e812c1ade89f74 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 749ab0a21d5f74cd2e5b1a109673c67a508283f2..989a33fe857fe5c381894845d6c7c1925be86cc5 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"