Created
November 15, 2017 16:57
-
-
Save kirkness/399be2c7ff04fcc544f30c401390f1be to your computer and use it in GitHub Desktop.
Couple of tips for for debugging dependency conflicts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 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