nanodeath
11/27/2020, 4:12 PMdependencies {
implementation(kotlin("stdlib"))
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
}
}
The Kotlin Gradle plugin will select the appropriate JVM standard library depending on thebut for now I can just add it manually.compiler option of your Gradle build script.kotlinOptions.jvmTarget
Joost Klitsie
11/27/2020, 5:18 PMnanodeath
11/27/2020, 5:52 PMVampire
11/27/2020, 7:24 PMkotlin("stdlib-jdk8")
nanodeath
11/27/2020, 7:46 PM