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