Update build.gradle
This commit is contained in:
parent
42706fc733
commit
1f11f10a69
|
@ -20,6 +20,7 @@ apply plugin: 'kotlin-android'
|
||||||
def DEFAULT_COMPILE_SDK_VERSION = 27
|
def DEFAULT_COMPILE_SDK_VERSION = 27
|
||||||
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
|
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
|
||||||
def DEFAULT_TARGET_SDK_VERSION = 27
|
def DEFAULT_TARGET_SDK_VERSION = 27
|
||||||
|
def DEFAULT_SUPPORT_LIB_VERSION = "27.0.2"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
||||||
|
@ -86,7 +87,10 @@ repositories {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def supportVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.facebook.react:react-native:+'
|
implementation 'com.facebook.react:react-native:+'
|
||||||
|
implementation "com.android.support:appcompat-v7:$supportVersion"
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue