Skip to content

Instantly share code, notes, and snippets.

@shikto1
Created July 2, 2018 12:38
Show Gist options
  • Save shikto1/f923cd504c16f1d148cc718017e237c8 to your computer and use it in GitHub Desktop.
Save shikto1/f923cd504c16f1d148cc718017e237c8 to your computer and use it in GitHub Desktop.
configurations.all {
resolutionStrategy.eachDependency{
DependencyResolveDetails details ->
def requested=details.requested
if(requested.group=="com.android.support"){
if(!requested.name.startsWith("multidex")){
details.useVersion("26.0.1")
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment