From 589566f35d5c92f37f2176eb6684c62f32c96f0b Mon Sep 17 00:00:00 2001 From: Matt <4009945+MattBDev@users.noreply.github.com> Date: Tue, 19 Sep 2023 23:13:22 -0400 Subject: [PATCH] Limited java-base plugin to only projects that actually need it. --- buildSrc/src/main/kotlin/LibsConfig.kt | 1 - worldedit-libs/core/build.gradle.kts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/LibsConfig.kt b/buildSrc/src/main/kotlin/LibsConfig.kt index 4fd69cb65..695bb8e3c 100644 --- a/buildSrc/src/main/kotlin/LibsConfig.kt +++ b/buildSrc/src/main/kotlin/LibsConfig.kt @@ -27,7 +27,6 @@ import javax.inject.Inject fun Project.applyLibrariesConfiguration() { applyCommonConfiguration() - apply(plugin = "java-base") apply(plugin = "maven-publish") apply(plugin = "com.github.johnrengelman.shadow") apply(plugin = "signing") diff --git a/worldedit-libs/core/build.gradle.kts b/worldedit-libs/core/build.gradle.kts index c5eb10887..6de670a59 100644 --- a/worldedit-libs/core/build.gradle.kts +++ b/worldedit-libs/core/build.gradle.kts @@ -1,3 +1,7 @@ +plugins { + `java-base` +} + applyLibrariesConfiguration() dependencies {