Gradle Artifactory Plugin - How to publish artifacts from multiple modules in a project?
I have a project which has a SharedCode (Java) module and secondly an Android (Android library) module which depends on the SharedCode module. I want to publish a jar artifact from the SharedCode module and an aar artifact from the Android module. I can't figure out how to compose my build.gradle files so that both modules publish to Artifactory when the artifactoryPublish task is run. At the moment only the SharedCode module publishes its artifact to Artifactory. My build.gradle files are as below. Note that the maven-publish aspect of my build.gradle files appears to be correct because when