aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts8
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