diff options
-rw-r--r-- | build.gradle.kts | 4 | ||||
-rw-r--r-- | gradle.properties | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 18f5e34..daf5747 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -192,7 +192,7 @@ tasks { } named<ShadowJar>("shadowJar") { archiveClassifier.set("donotusethis") - configurations = listOf(shade, shadeNoPom) + configurations = listOf(shade) duplicatesStrategy = DuplicatesStrategy.EXCLUDE dependsOn(jar) } @@ -204,6 +204,8 @@ tasks { exclude("**/internal/**") } jar { + dependsOn(shadeNoPom) + from({ shadeNoPom.map { zipTree(it) } }) manifest { attributes( mapOf( diff --git a/gradle.properties b/gradle.properties index 4693d56..bec50e4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name = OneConfig mod_id = oneconfig -mod_version = 0.1.0-alpha21 +mod_version = 0.1.0-alpha22 essential.defaults.loom=0 |