Re configuring all tasks of a type <@U0FC5HBJN> `t...
# gradle
j
Re configuring all tasks of a type @dharrigan
tasks.withType<Class> { ... }
is nice because it's explicit. The part that is not nice is the
configureEach
but it's not needed!
Copy code
allprojects {
    tasks.withType<KotlinCompile> {
        kotlinOptions.jvmTarget = "1.8"
    }
}
https://github.com/rozkminiacz/KotlinUnitTesting/blob/master/build.gradle.kts#L10-L29