|
@@ -6,13 +6,7 @@ plugins {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
kotlin {
|
|
|
- android {
|
|
|
|
|
- compilations.all {
|
|
|
|
|
- kotlinOptions {
|
|
|
|
|
- jvmTarget = "1.8"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ android()
|
|
|
|
|
|
|
|
jvm("desktop")
|
|
jvm("desktop")
|
|
|
|
|
|
|
@@ -80,7 +74,7 @@ android {
|
|
|
targetSdk = (findProperty("android.targetSdk") as String).toInt()
|
|
targetSdk = (findProperty("android.targetSdk") as String).toInt()
|
|
|
}
|
|
}
|
|
|
compileOptions {
|
|
compileOptions {
|
|
|
- sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
- targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
+ sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
+ targetCompatibility = JavaVersion.VERSION_11
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|