aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-20 23:06:02 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-20 23:06:02 +0700
commit0f15a35b6953091dc03bfc6921267257f29725ff (patch)
tree3d9eaff5c5000e9a05bfc07c09e2dcf66927527a
parent74729a1d76dacb2fd74580f3f0d600026ba445bb (diff)
downloadOneConfig-0f15a35b6953091dc03bfc6921267257f29725ff.tar.gz
OneConfig-0f15a35b6953091dc03bfc6921267257f29725ff.tar.bz2
OneConfig-0f15a35b6953091dc03bfc6921267257f29725ff.zip
fix 2
-rw-r--r--build.gradle.kts4
-rw-r--r--gradle.properties2
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