Trying to convert this into a buildSrc plugin and ...
# gradle
k
Trying to convert this into a buildSrc plugin and can't figure out the right syntax for this..googling for this is not useful as you can imagine 😂 You can get to kotlinOptions by doing this:
Copy code
tasks.withType(KotlinCompile::class.java).configureEach {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
But there's no KaptCompile?
v
Shouldn't it be
kotlin("kapt")
or
id("org.jetbrains.kotlin.kapt")
?
k
🤦‍♂️ kotlin("kapt") Thanks
👌 1