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 /loader/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 'loader/build.gradle')
-rw-r--r-- | loader/build.gradle | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/loader/build.gradle b/loader/build.gradle index 6481bde9..3147317a 100644 --- a/loader/build.gradle +++ b/loader/build.gradle @@ -65,6 +65,9 @@ configurations { transitive = false visible = false } + remappedMod { + visible = false + } } dependencies { minecraft("com.mojang:minecraft:1.8.9") @@ -86,6 +89,8 @@ dependencies { devEnv("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") + + remappedMod(project(path: ':mod', configuration: 'remappedMod')) } @@ -128,3 +133,15 @@ tasks.named("remapJar") { tasks.assemble.dependsOn tasks.remapJar + +task standaloneJar(type: Jar) { + archiveClassifier = "standalone" + from(zipTree(tasks.remapJar.archiveFile)) + from(configurations.remappedMod.files) + doLast { + println(archiveFile.get().asFile) + } +} + + + |