I am working on a project with a few modules, something like this:
:app
:coreLib
:exportLibrary
:otherLibrary
in my build.gradle
for my exportLibrary
module I import coreLib
like this:
implementation(project("coreLib"))
and in my app I do the same to include exportLibrary
:
implementation(project("exportLibrary"))
What I want to do is publish exportLibrary
to a maven repository, and I want it to include everything from coreLib
. I haven't found a good way to do this yet. Adding a transitive flag does not help. What am I missing?
I hope I do not need to publish coreLib
too!
I am publishing using artifactoryPublish
, which includes the artifacts created after running assembleRelease
. So, basically how do I make assembleRelease
produce a binary that includes my local dependency?