mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-29 04:09:59 -05:00
Publish jars with the loader suffix, fix testmod-common circular dependency
This commit is contained in:
@@ -55,6 +55,16 @@ remapJar {
|
||||
classifier null
|
||||
}
|
||||
|
||||
task renameJarForPublication(type: Zip, dependsOn: remapJar) {
|
||||
from remapJar.archiveFile.map { zipTree(it) }
|
||||
extension "jar"
|
||||
metadataCharset "UTF-8"
|
||||
destinationDirectory = base.libsDirectory
|
||||
classifier project.name
|
||||
}
|
||||
|
||||
assemble.dependsOn renameJarForPublication
|
||||
|
||||
jar {
|
||||
classifier "dev"
|
||||
}
|
||||
@@ -105,7 +115,7 @@ unifiedPublishing {
|
||||
changelog = releaseChangelog()
|
||||
gameVersions = ["1.18.2"]
|
||||
gameLoaders = ["fabric", "quilt"]
|
||||
mainPublication remapJar
|
||||
mainPublication renameJarForPublication
|
||||
relations {
|
||||
depends {
|
||||
curseforge = "fabric-api"
|
||||
|
||||
Reference in New Issue
Block a user