jmfayard
11/29/2018, 5:37 AMtasks.withType<Class> { ... }
is nice because it's explicit.
The part that is not nice is the configureEach
but it's not needed!
allprojects {
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}
https://github.com/rozkminiacz/KotlinUnitTesting/blob/master/build.gradle.kts#L10-L29