you could do: ``` tasks { "compileKotlin"(Kotli...
# gradle
b
you could do:
Copy code
tasks {
  "compileKotlin"(KotlinCompile::class) {
    kotlinOptions {...}
  }
}
But the type must be specified either way.