diff --git a/build.gradle.kts b/build.gradle.kts index 7ac8594..4826926 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -69,7 +69,7 @@ subprojects { withType(Jar::class) { from("$rootDir/LICENSE.txt") indraGit.applyVcsInformationToManifest(manifest) - archiveBaseName.set("${rootProject.name}-${rootProject.version}") + archiveBaseName.set(rootProject.name) } withType(ShadowJar::class) { this.configurations = listOf(shadowC) @@ -142,6 +142,7 @@ subprojects { dependsOn(shrinkJar) val shrinkedJar = shrinkJar.get().outJarFileCollection.singleFile archiveBaseName.set(shadowJar.archiveBaseName) + archiveVersion.set("[${rootProject.version}+$mcBase]") archiveClassifier.set(this@subprojects.name) input.set(shrinkedJar) if (!archiveFileName.get().contains("common")) destinationDirectory.set(file("$rootDir/remappedJars"))