Android Studio 3.4.2
I has main project (app) that use module mytransport like this:
app/build.gradle
dependencies {
annotation
Use api instead of implementation.
In mytransport/build.gradle:
dependencies {
//...
api 'com.google.code.gson:gson:2.8.5'
}
Just an example.
In library/build.gradle:
dependencies {
api project(':libraryA')
}
In app/build.gradle:
dependencies {
api project(':library')
}
In your app you will be able to access both library and libraryA.
Using the implementation configuration:
In library/build.gradle:
dependencies {
implementation project(':libraryA')
}
In app/build.gradle:
dependencies {
implementation project(':library')
}
In this case in your app you can't access the libraryA methods.