Android-cleanarchitecture: dependency with transitive=true

Created on 27 Jul 2015  ·  2Comments  ·  Source: android10/Android-CleanArchitecture

How should I include this in dependencies.gradle:

compile('com.abc:xyz:1.1.1@aar') {
    transitive = true
}

Most helpful comment

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

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashraffouad picture ashraffouad  ·  5Comments

donlucard picture donlucard  ·  3Comments

jiaju-yang picture jiaju-yang  ·  5Comments

StreetFlaneur picture StreetFlaneur  ·  3Comments

fabius-bile picture fabius-bile  ·  5Comments