aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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)
+}
+
+