Publish the platform specific jars on a different artifact id to resolve issues with transitive dependencies.

This commit is contained in:
shedaniel
2021-02-17 14:51:31 +08:00
parent cd9c1926a9
commit 2656e52221
3 changed files with 5 additions and 3 deletions

View File

@@ -68,9 +68,10 @@ remapJar {
publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.archives_base_name + "-fabric"
artifact(remapJar.archivePath) {
builtBy build
classifier "fabric"
classifier null
}
}
}

View File

@@ -63,9 +63,10 @@ remapJar {
publishing {
publications {
mavenForge(MavenPublication) {
artifactId = rootProject.archives_base_name + "-fabric"
artifact(remapJar.archivePath) {
builtBy build
classifier "forge"
classifier null
}
}
}

View File

@@ -6,7 +6,7 @@ supported_version=1.16.4/5
archives_base_name=architectury
archives_base_name_snapshot=architectury-snapshot
base_version=1.6
base_version=1.7
maven_group=me.shedaniel
fabric_loader_version=0.10.8