Fixed that for some library setting Kotlin jvmTarget to 1.8 was needed

This commit is contained in:
dankito 2020-10-10 02:30:44 +02:00
parent eff16876b6
commit c8049ea107
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
kotlinOptions {
jvmTarget = '1.8'
}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8