mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-28 06:50:47 +00:00
using root properties for versions (latest rn) (#305)
Co-authored-by: bberthelemy <> Co-authored-by: Luan Curti <luancurti@gmail.com>
This commit is contained in:
parent
8942fe9a5a
commit
74ae697443
@ -16,12 +16,12 @@ def safeExtGet(prop, fallback) {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion safeExtGet("compileSdkVersion", 26)
|
||||
buildToolsVersion safeExtGet("buildToolsVersion", "27.0.3")
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
buildToolsVersion rootProject.ext.buildToolsVersion
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion safeExtGet("minSdkVersion", 16)
|
||||
targetSdkVersion safeExtGet("targetSdkVersion", 26)
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user