Skip to content
Advertisement

Artifactory publish with multi-module gradle

Hope all doing well.

Today I was working on multi-module gradle project, and trying to publish one of it’s dependency to artifactory as well.

my project structure are:

build.gradle (main)

JavaScript

build.gradle (api)

JavaScript

and the task artifactoryPublish produces:

JavaScript

Now the issue is that,

the modules, like admin-api builds with the name admin-api-0.0.2-RC3-plain.jar, and the resolution of dependency fails in another project, from which this API needs to be used by reporting following issue:

JavaScript

gradle dependency statement:

JavaScript

Please assist me on what is going wrong here.

Also, is their any way so that the modules jar builds without the suffix -plain?

Thanks in advance:)

Advertisement

Answer

Hi finally I’ve achieved this using the following configurations:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement