Skip to content

Instantly share code, notes, and snippets.

@lizhangqu
Created December 26, 2017 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lizhangqu/7b7c652904647404ddc43f07b51cd8e9 to your computer and use it in GitHub Desktop.
Save lizhangqu/7b7c652904647404ddc43f07b51cd8e9 to your computer and use it in GitHub Desktop.
subprojects {
configurations.all {
resolutionStrategy {
force 'com.android.support:multidex:1.0.2'
force 'com.android.support:multidex-instrumentation:1.0.2'
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex')) {
details.useVersion '25.3.1'
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment