aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-24 23:31:04 +0900
committersyeyoung <cyoung06@naver.com>2023-02-24 23:31:04 +0900
commit6480a493523b13e7cdc393bdbcf62a27950d3ef7 (patch)
treee6584c1a61791d495b8dd712c05dd3e5a06f8dc2 /mod
parentd86eb4d9f0e16e5acc0f35a88b894eca4592abf5 (diff)
parentb058ca61ff4056a1b301f826a5542dddd71e209d (diff)
downloadSkyblock-Dungeons-Guide-6480a493523b13e7cdc393bdbcf62a27950d3ef7.tar.gz
Skyblock-Dungeons-Guide-6480a493523b13e7cdc393bdbcf62a27950d3ef7.tar.bz2
Skyblock-Dungeons-Guide-6480a493523b13e7cdc393bdbcf62a27950d3ef7.zip
Merge remote-tracking branch 'origin/dg4.0' into dg4.0
Diffstat (limited to 'mod')
-rw-r--r--mod/build.gradle20
1 files changed, 19 insertions, 1 deletions
diff --git a/mod/build.gradle b/mod/build.gradle
index 4cabcd60..5e2f0262 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,15 @@ repositories {
configurations {
implementation.extendsFrom shadowImpl
+
+ remappedMod {
+ canBeConsumed = true
+ canBeResolved = false
+ }
+ unmappedMod {
+ canBeConsumed = true
+ canBeResolved = false
+ }
}
def devenvMod = configurations.create("devenvMod") {
@@ -168,3 +179,10 @@ tasks.named("remapJar") {
tasks.assemble.dependsOn tasks.remapJar
+
+artifacts {
+ remappedMod(tasks.remapJar)
+ unmappedMod(tasks.shadowJar)
+}
+
+