How should I include this in dependencies.gradle:
compile('com.abc:xyz:1.1.1@aar') {
transitive = true
}
you cannot, you have to do it in your build.gradle file:
compile (presentationDependencies.rxJava) {
transitive = true
}
Just remove the aar and you can alsoremove transitive = true.
aar notation will not download it's dependencies, that's why you need to add transitive true. I test this approach (on CrashLytics and Advanced Recycler View libraries) and it works.
see this: StackOverflow and Gradle Docs
Most helpful comment
Just remove the
aarand you can alsoremove transitive = true.aar notation will not download it's dependencies, that's why you need to add
transitive true. I test this approach (on CrashLytics and Advanced Recycler View libraries) and it works.see this: StackOverflow and Gradle Docs