aboutsummaryrefslogtreecommitdiff
path: root/mod/build.gradle
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-02-24 15:01:34 +0100
committernea <nea@nea.moe>2023-02-24 15:01:34 +0100
commit62cd2abb3b57a7db6a559c37352f253a208b166e (patch)
treed0e823a5630f82f5aad4cd79dd6ac3a9a5c8aba3 /mod/build.gradle
parentf547a84a8d3ae0b9f34ca43caac5039899950fd1 (diff)
downloadSkyblock-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.gradle15
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)
+}
+
+