Last active
March 3, 2021 13:50
-
-
Save nethergrim/397638071d41b448bf0a49aa86da4d5a to your computer and use it in GitHub Desktop.
π build.gradle which forces all subprojects to use a single version of support library
This file contains 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
ext { | |
supportlib_version = '28.0.0' | |
} | |
subprojects { | |
project.configurations.all { | |
resolutionStrategy.eachDependency { details -> | |
if (details.requested.group == 'com.android.support' | |
&& !details.requested.name.contains('multidex')) { | |
details.useVersion "$supportlib_version" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment