Found the solution for this
Updated the following code to the sub-project :api as follows:
project(':api') {
tasks.withType(Jar) {
baseName = rootProject.name
appendix = 'api'
project.ext.set("archivesBaseName", rootProject.name+"-api")
destinationDir = rootProject.jar.destinationDir
}
}
The baseName = rootProject.name seems to have done the trick
--
View this message in context:
http://forums.jfrog.org/Gradle-sub-project-Jars-published-incorrectly-to-Artifactory-tp7579900p7579919.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users