From 0f15a35b6953091dc03bfc6921267257f29725ff Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Mon, 20 Jun 2022 23:06:02 +0700 Subject: fix 2 --- build.gradle.kts | 4 +++- 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") { 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 -- cgit