Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency with transitive=true #37

Closed
Rainer-Lang opened this issue Jul 27, 2015 · 2 comments
Closed

dependency with transitive=true #37

Rainer-Lang opened this issue Jul 27, 2015 · 2 comments

Comments

@Rainer-Lang
Copy link

How should I include this in dependencies.gradle:

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

you cannot, you have to do it in your build.gradle file:

  compile (presentationDependencies.rxJava) {
    transitive = true
  }

@aldoKelvianto
Copy link

Just remove the aar and you can also remove 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants