diff options
author | Roman / Linnea Gräf <nea@nea.moe> | 2023-04-15 15:05:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 15:05:39 +0200 |
commit | c667d204866a442d17de9e61f123d3a72331ccc4 (patch) | |
tree | 60a09306afd7e15e9821b0586cf6582555fcdcbd /build.gradle.kts | |
parent | 1ae2d5722480c3f6ca8dd7a6c86233245fe30a09 (diff) | |
download | skyhanni-c667d204866a442d17de9e61f123d3a72331ccc4.tar.gz skyhanni-c667d204866a442d17de9e61f123d3a72331ccc4.tar.bz2 skyhanni-c667d204866a442d17de9e61f123d3a72331ccc4.zip |
Rename Jars (#44)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index c87d286f7..82f189ce2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -130,12 +130,13 @@ 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.shadowJar { + destinationDirectory.set(layout.buildDirectory.dir("badjars")) archiveClassifier.set("all-dev") configurations = listOf(shadowImpl, shadowModImpl) doLast { @@ -147,7 +148,10 @@ tasks.shadowJar { relocate("io.github.moulberry.moulconfig", "at.hannibal2.skyhanni.deps.moulconfig") relocate("moe.nea.libautoupdate", "at.hannibal2.skyhanni.deps.libautoupdate") } - +tasks.jar { + archiveClassifier.set("nodeps") + destinationDirectory.set(layout.buildDirectory.dir("badjars")) +} tasks.assemble.get().dependsOn(tasks.remapJar) val compileKotlin: KotlinCompile by tasks |