Created
July 5, 2018 07:11
-
-
Save Subtle-fox/aea0a69ff70b62f5f9bfd8b89b5e4e47 to your computer and use it in GitHub Desktop.
gradle : resolve version 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
buildscript { ... } | |
allprojects { ... } | |
subprojects { | |
project.configurations.all { | |
resolutionStrategy.eachDependency { details -> | |
if (details.requested.group == 'com.android.support') { | |
details.useVersion "27.1.1" | |
} | |
if (details.requested.group == 'android.arch.lifecycle') { | |
details.useVersion "1.1.1" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment