Created
November 20, 2018 20:03
-
-
Save xmanemran/3e6a3ade896cc629730616cb022d6789 to your computer and use it in GitHub Desktop.
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
subprojects { | |
ext { | |
compileSdk = 28 | |
buildTools = "28.0.0" | |
minSdk = 16 | |
targetSdk = 26 | |
} | |
afterEvaluate { project -> | |
if (!project.name.equalsIgnoreCase("app") | |
&& project.hasProperty("android")) { | |
android { | |
compileSdkVersion compileSdk | |
buildToolsVersion buildTools | |
defaultConfig { | |
minSdkVersion minSdk | |
targetSdkVersion targetSdk | |
} | |
configurations.all { | |
resolutionStrategy { | |
force 'com.android.support:support-v4:27.1.0' | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment