|
@@ -20,6 +20,7 @@ apply plugin: 'kotlin-android'
|
20
|
20
|
def DEFAULT_COMPILE_SDK_VERSION = 27
|
21
|
21
|
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
|
22
|
22
|
def DEFAULT_TARGET_SDK_VERSION = 27
|
|
23
|
+def DEFAULT_SUPPORT_LIB_VERSION = "27.0.2"
|
23
|
24
|
|
24
|
25
|
android {
|
25
|
26
|
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
|
@@ -86,7 +87,10 @@ repositories {
|
86
|
87
|
}
|
87
|
88
|
}
|
88
|
89
|
|
|
90
|
+def supportVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
|
|
91
|
+
|
89
|
92
|
dependencies {
|
90
|
93
|
implementation 'com.facebook.react:react-native:+'
|
|
94
|
+ implementation "com.android.support:appcompat-v7:$supportVersion"
|
91
|
95
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
92
|
96
|
}
|