diff options
author | nea <nea@nea.moe> | 2023-07-30 14:57:10 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-30 14:57:10 +0200 |
commit | 206afb8629d5711310fc66b8ed8014f84bbd6e79 (patch) | |
tree | 77aa5de36564de4bf5e834c9797816f6b50de846 | |
parent | 2f700453a4f688898c2c0040b3e0a628e89fa335 (diff) | |
download | firmament-206afb8629d5711310fc66b8ed8014f84bbd6e79.tar.gz firmament-206afb8629d5711310fc66b8ed8014f84bbd6e79.tar.bz2 firmament-206afb8629d5711310fc66b8ed8014f84bbd6e79.zip |
Fix remapping of buildscript
-rw-r--r-- | build.gradle.kts | 6 | ||||
-rw-r--r-- | src/main/resources/firmament.mixins.json | 15 |
2 files changed, 11 insertions, 10 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 4ba4406..bfcb369 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -165,16 +165,16 @@ tasks.jar { tasks.shadowJar { configurations = listOf(shadowMe) - archiveClassifier.set("") + archiveClassifier.set("dev") relocate("io.github.moulberry.repo", "moe.nea.firmament.deps.repo") + destinationDirectory.set(layout.buildDirectory.dir("badjars")) } tasks.remapJar { - destinationDirectory.set(layout.buildDirectory.dir("badjars")) injectAccessWidener.set(true) inputFile.set(tasks.shadowJar.flatMap { it.archiveFile }) dependsOn(tasks.shadowJar) - archiveClassifier.set("dev") + archiveClassifier.set("") } tasks.processResources { diff --git a/src/main/resources/firmament.mixins.json b/src/main/resources/firmament.mixins.json index 599c8ea..cdf66e0 100644 --- a/src/main/resources/firmament.mixins.json +++ b/src/main/resources/firmament.mixins.json @@ -1,9 +1,10 @@ { - "required": true, - "plugin": "moe.nea.firmament.init.MixinPlugin", - "package": "moe.nea.firmament.mixins", - "compatibilityLevel": "JAVA_17", - "injectors": { - "defaultRequire": 1 - } + "required": true, + "plugin": "moe.nea.firmament.init.MixinPlugin", + "package": "moe.nea.firmament.mixins", + "compatibilityLevel": "JAVA_17", + "injectors": { + "defaultRequire": 1 + }, + "refmap": "Firmament-refmap.json" } |