Fix jvmTarget warnings

This commit is contained in:
Mikołaj Pich 2021-10-03 14:25:30 +02:00
parent 2259cb3db8
commit 342042a49e
2 changed files with 14 additions and 0 deletions

View file

@ -21,3 +21,10 @@ test {
events "passed", "skipped", "failed" events "passed", "skipped", "failed"
} }
} }
compileKotlin {
kotlinOptions.jvmTarget = 11
}
compileTestKotlin {
kotlinOptions.jvmTarget = 11
}

View file

@ -8,3 +8,10 @@ plugins {
dependencies { dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0" implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
} }
compileKotlin {
kotlinOptions.jvmTarget = 11
}
compileTestKotlin {
kotlinOptions.jvmTarget = 11
}