Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/9.x-1.19' into 11.x-1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Dec 12, 2023
2 parents 536b284 + 81a16da commit cbd9c8d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,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"
}
Expand Down Expand Up @@ -110,7 +120,7 @@ unifiedPublishing {
gameLoaders = ["fabric"]
changelog = rootProject.releaseChangelog

mainPublication remapJar
mainPublication renameJarForPublication

relations {
depends {
Expand Down
12 changes: 11 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -219,7 +229,7 @@ unifiedPublishing {
gameLoaders = ["forge"]
changelog = rootProject.releaseChangelog

mainPublication remapJar
mainPublication renameJarForPublication

relations {
depends {
Expand Down

0 comments on commit cbd9c8d

Please sign in to comment.