diff --git a/build.gradle b/build.gradle index 2b8d136..39eb679 100644 --- a/build.gradle +++ b/build.gradle @@ -67,9 +67,16 @@ publishing { artifactId = archivesBaseName // add all the jars that should be included when publishing to maven - artifact(jar) { + artifact ("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}.jar") { //release jar - file location not provided anywhere in loom + classifier null builtBy remapJar } + + artifact ("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}-dev.jar") { //release jar - file location not provided anywhere in loom + classifier "dev" + builtBy remapJar + } + artifact(sourcesJar) { builtBy remapSourcesJar }