I'm trying to set the target bytecode version to 8...
# gradle
r
I'm trying to set the target bytecode version to 8, but I can't seem to find the correct syntax https://kotlinlang.org/docs/reference/using-gradle.html#compiler-options
✔️ 1
I'm trying to convert this into kotlin dsl, but it does not find
KotlinCompile
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java).all {
    kotlinOptions { ... }
}
Ok, that's where you need the dependency on
kotlin-gradle-plugin
in the root project
g
Remove
all