From 194e382cc18447b54938f75bda3e547264511f74 Mon Sep 17 00:00:00 2001 From: Juuxel Date: Tue, 11 Jun 2019 21:40:07 +0300 Subject: [PATCH] Fix artifactory publishing --- build.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 }