aboutsummaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
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 fee2820cc..effce5b84 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 {