Support React Native 0.56 (#139)
This commit is contained in:
parent
fbe8b2596e
commit
e311144745
|
@ -10,13 +10,17 @@ buildscript {
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
|
def safeExtGet(prop, fallback) {
|
||||||
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion safeExtGet('compileSdkVersion', 26)
|
||||||
buildToolsVersion "23.0.1"
|
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 16
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
||||||
targetSdkVersion 23
|
targetSdkVersion safeExtGet('targetSdkVersion', 26)
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue