aboutsummaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2023-12-12 11:40:21 +0800
committershedaniel <daniel@shedaniel.me>2023-12-12 11:56:06 +0800
commit81a16dae1337ae54d77bb3d0c22fed4589eb74e8 (patch)
tree0212c315ada0d087013502b6f6850b3bb4384393 /forge
parent032a0ff4989fdb276e0b4c8b6b15bb60ac723bff (diff)
downloadRoughlyEnoughItems-81a16dae1337ae54d77bb3d0c22fed4589eb74e8.tar.gz
RoughlyEnoughItems-81a16dae1337ae54d77bb3d0c22fed4589eb74e8.tar.bz2
RoughlyEnoughItems-81a16dae1337ae54d77bb3d0c22fed4589eb74e8.zip
Rename jars for publication
Diffstat (limited to 'forge')
-rw-r--r--forge/build.gradle12
1 files changed, 11 insertions, 1 deletions
diff --git a/forge/build.gradle b/forge/build.gradle
index 88fbffa0d..33e458281 100644
--- a/forge/build.gradle
+++ b/forge/build.gradle
@@ -142,6 +142,16 @@ remapJar {
classifier null
}
+task renameJarForPublication(type: Zip, dependsOn: remapJar) {
+ from remapJar.archiveFile.map { zipTree(it) }
+ metadataCharset "UTF-8"
+ archiveExtension = "jar"
+ destinationDirectory = base.libsDirectory
+ archiveClassifier = project.name
+}
+
+assemble.dependsOn renameJarForPublication
+
jar {
classifier "dev"
}
@@ -219,7 +229,7 @@ unifiedPublishing {
gameLoaders = ["forge"]
changelog = rootProject.releaseChangelog
- mainPublication remapJar
+ mainPublication renameJarForPublication
relations {
depends {