constants to root extensions

This commit is contained in:
alex 2020-06-25 15:51:22 +03:00
parent 382f0d1da0
commit b6c5ca3a75
3 changed files with 12 additions and 12 deletions

View File

@ -4,4 +4,4 @@ apply from: '../RoboSwag/android-configs/common-config.gradle'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-kapt'

View File

@ -1,13 +1,18 @@
apply plugin: 'kotlin-android'
rootProject.ext {
compileSdk = 29
minSdk = 21
targetSdk = 29
}
android {
compileSdkVersion 29
compileSdkVersion rootProject.ext.compileSdk
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
multiDexEnabled = true
minSdkVersion rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdk
}
compileOptions {
@ -18,5 +23,4 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

View File

@ -1,4 +1,3 @@
plugins {
id("com.android.application") apply false
id("kotlin-android")
@ -10,9 +9,7 @@ android {
defaultConfig {
minSdkVersion(21)
targetSdkVersion(29)
multiDexEnabled = true
targetSdkVersion(29)
}
compileOptions {
@ -23,5 +20,4 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}