diff options
author | nea <nea@nea.moe> | 2023-04-29 01:17:00 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-04-29 01:17:00 +0200 |
commit | cc5c1a8d1cb3e1042908d59e17199ffadfff0fc7 (patch) | |
tree | 2daf940375c049d1783772016951ad91da38bcb3 /build.gradle.kts | |
parent | 370e8bdd074fecacbf3a190e2f50502e25f43367 (diff) | |
download | Forge1.8.9Template-cc5c1a8d1cb3e1042908d59e17199ffadfff0fc7.tar.gz Forge1.8.9Template-cc5c1a8d1cb3e1042908d59e17199ffadfff0fc7.tar.bz2 Forge1.8.9Template-cc5c1a8d1cb3e1042908d59e17199ffadfff0fc7.zip |
Move intermediary jars to extra directory
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index c63956b..c5eb641 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -90,17 +90,23 @@ tasks.withType(Jar::class) { val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") { - archiveClassifier.set("all") + archiveClassifier.set("") from(tasks.shadowJar) input.set(tasks.shadowJar.get().archiveFile) } +tasks.jar { + archiveClassifier.set("without-deps") + destinationDirectory.set(layout.buildDirectory.dir("badjars")) +} + tasks.shadowJar { + destinationDirectory.set(layout.buildDirectory.dir("badjars")) archiveClassifier.set("all-dev") configurations = listOf(shadowImpl) doLast { configurations.forEach { - println("Config: ${it.files}") + println("Copying jars into mod: ${it.files}") } } |