Skip to content

Instantly share code, notes, and snippets.

@kirkness
Created November 15, 2017 16:57
Show Gist options
  • Select an option

  • Save kirkness/399be2c7ff04fcc544f30c401390f1be to your computer and use it in GitHub Desktop.

Select an option

Save kirkness/399be2c7ff04fcc544f30c401390f1be to your computer and use it in GitHub Desktop.
Couple of tips for for debugging dependency conflicts.
### TIP 1
Get list of transitive dependencies.
NOTE: Make sure the second tip is not set if you want to see the full result of this.
```
$ cd android
$ ./gradlew :app:dependencies
```
### TIP 2
Add to build.gradle to get some visibility on what is conflicting.
```
configurations.all {
resolutionStrategy {
failOnVersionConflict()
}
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment