nanodeath
11/27/2020, 4:12 PMdependencies {
implementation(kotlin("stdlib"))
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
}
}
nanodeath
11/27/2020, 4:16 PMThe 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 PMJoost Klitsie
11/27/2020, 5:19 PMJoost Klitsie
11/27/2020, 5:19 PMnanodeath
11/27/2020, 5:52 PMVampire
11/27/2020, 7:24 PMVampire
11/27/2020, 7:24 PMkotlin("stdlib-jdk8")
nanodeath
11/27/2020, 7:46 PMnanodeath
11/27/2020, 7:48 PM