Back history
I have this android library aar
that devs can use normally with
compile \'com.companyname.sdk:android-sdk:2.x\
You should do something like this:
root:
|- test_app (apk just for testing, not deployed anywhere)
|- core
|- extra_1
|- extra_2
|- extra_ ... etc
|- android-sdk
In core/build.gradle
:
apply plugin: 'com.android.library'
//...
In extra1/build.gradle
:
apply plugin: 'com.android.library'
//...
dependencies {
compile project(':core')
}
In android-sdk/build.gradle
:
apply plugin: 'com.android.library'
//...
dependencies {
compile project(':core')
compile project(':extra')
}