diff --git a/buildSrc/src/main/groovy/multiloader-common.gradle b/buildSrc/src/main/groovy/multiloader-common.gradle index a2ee218..a2dc096 100644 --- a/buildSrc/src/main/groovy/multiloader-common.gradle +++ b/buildSrc/src/main/groovy/multiloader-common.gradle @@ -129,8 +129,8 @@ publishing { publications { mavenJava(MavenPublication) { artifactId project.archivesBaseName - artifact project.jar - artifact project.sourcesJar + artifact project.tasks.findByName(project.name == "fabric" ? "remapJar" : "jar") + artifact project.tasks.findByName(project.name == "fabric" ? "remapSourcesJar" : "sourcesJar") } } repositories {