Update build.gradle

This commit is contained in:
Thibault Malbranche 2018-11-30 10:13:44 +01:00
parent 42706fc733
commit 1f11f10a69
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@ apply plugin: 'kotlin-android'
def DEFAULT_COMPILE_SDK_VERSION = 27
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
def DEFAULT_TARGET_SDK_VERSION = 27
def DEFAULT_SUPPORT_LIB_VERSION = "27.0.2"
android {
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 {
implementation 'com.facebook.react:react-native:+'
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}