From d9a6b6af53d8f838b169ae0ca4a92ce3ef0ef330 Mon Sep 17 00:00:00 2001 From: Richard Harrah Date: Thu, 8 Feb 2024 17:09:00 -0500 Subject: [PATCH] change download tools location --- .../gradle/spigot/MythicDropsSpigotBuildToolsGradlePlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/mythicdrops/gradle/spigot/MythicDropsSpigotBuildToolsGradlePlugin.kt b/src/main/kotlin/dev/mythicdrops/gradle/spigot/MythicDropsSpigotBuildToolsGradlePlugin.kt index 9510ca4..a2db75b 100644 --- a/src/main/kotlin/dev/mythicdrops/gradle/spigot/MythicDropsSpigotBuildToolsGradlePlugin.kt +++ b/src/main/kotlin/dev/mythicdrops/gradle/spigot/MythicDropsSpigotBuildToolsGradlePlugin.kt @@ -14,7 +14,7 @@ class MythicDropsSpigotBuildToolsGradlePlugin : Plugin { val extension = target.extensions.create("spigotBuildTools").apply { buildToolsLocation.convention( - target.rootProject.layout.buildDirectory.file("spigot-build-tools/BuildTools.jar"), + target.layout.buildDirectory.file("spigot-build-tools/BuildTools.jar"), ) includeRemapped.convention(true) version.convention("")