diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-24 23:31:04 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-24 23:31:04 +0900 |
commit | 6480a493523b13e7cdc393bdbcf62a27950d3ef7 (patch) | |
tree | e6584c1a61791d495b8dd712c05dd3e5a06f8dc2 /loader | |
parent | d86eb4d9f0e16e5acc0f35a88b894eca4592abf5 (diff) | |
parent | b058ca61ff4056a1b301f826a5542dddd71e209d (diff) | |
download | Skyblock-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 'loader')
-rw-r--r-- | loader/build.gradle | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/loader/build.gradle b/loader/build.gradle index 6481bde9..621dc88d 100644 --- a/loader/build.gradle +++ b/loader/build.gradle @@ -65,6 +65,12 @@ configurations { transitive = false visible = false } + unmappedMod { + visible = false + } + remappedMod { + visible = false + } } dependencies { minecraft("com.mojang:minecraft:1.8.9") @@ -86,6 +92,9 @@ dependencies { devEnv("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") + + unmappedMod(project(path: ':mod', configuration: 'unmappedMod')) + remappedMod(project(path: ':mod', configuration: 'remappedMod')) } @@ -128,3 +137,27 @@ tasks.named("remapJar") { tasks.assemble.dependsOn tasks.remapJar + +task standaloneConsumerJar(type: Jar) { + archiveClassifier = "standalone" + from(zipTree(tasks.remapJar.archiveFile)) + from(configurations.remappedMod.files) { + rename ".+\\.jar", "mod.jar" + } + doLast { + println(archiveFile.get().asFile) + } +} +task standaloneDevJar(type: Jar) { + archiveClassifier = "devStandalone" + from(zipTree(tasks.shadowJar.archiveFile)) + from(configurations.unmappedMod.files) { + rename ".+\\.jar", "mod.jar" + } + doLast { + println(archiveFile.get().asFile) + } +} + + + |