I am building an Android library that is packaged as an aar and distributed to 3rd party developers.
The structure is pretty simple:
project ---libraryA ---libraryB
libraryA requires libraryB, which is why is has this in its gradle file:
compile project(':libraryB')
And settings.gradle has
include ':libraryB', ':libraryA'
But if I build the project as an aar it only includes libraryA. What am I missing?
I read the responses to this: Android Studio how to package single AAR from multiple library projects?
Is this still not possible? I would assume that splitting up your code into multiple modules is not bad practice?