Skip to content

Instantly share code, notes, and snippets.

@AndrewJack
Created February 14, 2017 09:40
Show Gist options
  • Save AndrewJack/10dc22708582b009fb74f07904f3bfb1 to your computer and use it in GitHub Desktop.
Save AndrewJack/10dc22708582b009fb74f07904f3bfb1 to your computer and use it in GitHub Desktop.
React Native Android Library SDK Versions
subprojects {
ext {
compileSdk = 25
buildTools = "25.0.1"
minSdk = 19
targetSdk = 25
}
afterEvaluate { project ->
if (!project.name.equalsIgnoreCase("app")
&& project.hasProperty("android")) {
android {
compileSdkVersion compileSdk
buildToolsVersion buildTools
defaultConfig {
minSdkVersion minSdk
targetSdkVersion targetSdk
}
}
}
}
}
@mo-solnet
Copy link

mo-solnet commented Sep 14, 2017

@AndrewJack Wow, thank you so much!
I can verify this works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment