Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/12.x-1.20' into 13.x-1.20.2
Browse files Browse the repository at this point in the history
# Conflicts:
#	fabric/build.gradle
  • Loading branch information
shedaniel committed Dec 12, 2023
2 parents a5f690f + 64d2af8 commit b98602f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 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 {
archiveClassifier = 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 {
archiveClassifier = "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 {
archiveClassifier = 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 {
archiveClassifier = "dev"
}
Expand Down Expand Up @@ -219,7 +229,7 @@ unifiedPublishing {
gameLoaders = ["forge"]
changelog = rootProject.releaseChangelog

mainPublication remapJar
mainPublication renameJarForPublication

relations {
depends {
Expand Down
12 changes: 11 additions & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ remapJar {
archiveClassifier = 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 {
archiveClassifier = "dev"
}
Expand Down Expand Up @@ -156,7 +166,7 @@ unifiedPublishing {
gameLoaders = ["neoforge"]
changelog = rootProject.releaseChangelog

mainPublication remapJar
mainPublication renameJarForPublication

relations {
depends {
Expand Down

0 comments on commit b98602f

Please sign in to comment.