diff --git a/build.gradle.kts b/build.gradle.kts index 90962e6..32dee00 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,8 +11,10 @@ plugins { id("dev.deftu.gradle.tools.minecraft.releases") } -if (mcData.isForgeLike && mcData.version >= MinecraftVersion.VERSION_1_15_2) { - toolkitLoomHelper.useKotlinForForge() +toolkitLoomHelper { + if (mcData.isForgeLike && mcData.version >= MinecraftVersion.VERSION_1_16_5) { + useKotlinForForge() + } } dependencies { @@ -24,3 +26,11 @@ dependencies { modImplementation("net.fabricmc:fabric-language-kotlin:${mcData.dependencies.fabric.fabricLanguageKotlinVersion}") } } + +tasks { + withType { + val buildDir = rootProject.layout.buildDirectory.asFile.get() + val jarsDir = buildDir.resolve("jars") + destinationDirectory.set(jarsDir) + } +}