Hi, upgraded to 5.0 and my code doesn't work anymo...
# gradle
c
Hi, upgraded to 5.0 and my code doesn't work anymore:
Copy code
tasks {
    val compileKotlin: KotlinCompile by getting
}
I've found a workaround, but I don't like that it is more verbose. Is there a shorter alternative in 5.0?
Copy code
tasks {
   val compileKotlin by named<KotlinCompile>("compileKotlin")
}