Gradle DependecyResolution
subprojects { | |
project.configurations.all { | |
resolutionStrategy.eachDependency { details -> | |
boolean isMultidex = details.requested.name.contains('multidex') | |
if (details.requested.group == 'com.android.support' && !isMultidex){ | |
details.useVersion lib_versions.support | |
}else if(isMultidex){ | |
details.useVersion lib_versions.multidex | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment