Skip to content

Instantly share code, notes, and snippets.

@CyxouD
Created August 16, 2018 07:07
Show Gist options
  • Save CyxouD/7eaf69ccff3c0745c3a32fec4e92c065 to your computer and use it in GitHub Desktop.
Save CyxouD/7eaf69ccff3c0745c3a32fec4e92c065 to your computer and use it in GitHub Desktop.
Make all libraries to use same support libs version (26.1.0 in this case) - place it in your root build.gradle (I placed in build script)
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "26.1.0"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment