diff options
author | nea <nea@nea.moe> | 2023-02-24 15:01:34 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-02-24 15:01:34 +0100 |
commit | 62cd2abb3b57a7db6a559c37352f253a208b166e (patch) | |
tree | d0e823a5630f82f5aad4cd79dd6ac3a9a5c8aba3 /mod/build.gradle | |
parent | f547a84a8d3ae0b9f34ca43caac5039899950fd1 (diff) | |
download | Skyblock-Dungeons-Guide-62cd2abb3b57a7db6a559c37352f253a208b166e.tar.gz Skyblock-Dungeons-Guide-62cd2abb3b57a7db6a559c37352f253a208b166e.tar.bz2 Skyblock-Dungeons-Guide-62cd2abb3b57a7db6a559c37352f253a208b166e.zip |
Optional Signing and Standalone Jar
Diffstat (limited to 'mod/build.gradle')
-rw-r--r-- | mod/build.gradle | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mod/build.gradle b/mod/build.gradle index ca9d2054..45537550 100644 --- a/mod/build.gradle +++ b/mod/build.gradle @@ -21,7 +21,9 @@ sourceSets.main { signing { useGpgCmd() - sign configurations.archives + if (project.findProperty("dg.dosign") == "true"){ + sign configurations.archives + } } repositories { @@ -37,6 +39,11 @@ repositories { configurations { implementation.extendsFrom shadowImpl + + remappedMod { + canBeConsumed = true + canBeResolved = false + } } def devenvMod = configurations.create("devenvMod") { @@ -156,3 +163,9 @@ tasks.named("remapJar") { tasks.assemble.dependsOn tasks.remapJar + +artifacts { + remappedMod(tasks.shadowJar) +} + + |