How do I implement `compileKotlin` task? Do I need...
# gradle
v
How do I implement
compileKotlin
task? Do I need
Copy code
val compileKotlin: KotlinCompile by tasks
line?
v
If you have kotlin plugin applied to your project there is already a compileKotlin task defined.
to change it’s configurations you can do what you do in line above or something like:
Copy code
tasks.withType<KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
//...
}
v
That seems to be the main problem -- apply the plugin to my build.gradle.kts
v
Copy code
plugins {
//...
   kotlin("jvm") version "1.3.0"
//...
}
should do the job