Caleb Cushing
10/02/2024, 6:17 PMcheck task using the java api? by name? so
project.tasks.check.configure {
dependsOn(tasks.withType<JacocoCoverageVerification>())
}
becomes
tasks.named("check", task -> task.dependsOn(tasks.withType(JacocoReport.class)));
or is there a typed version? (I kinda hate strings 😉 , strings are weakly typed, except in typescript which has some interesting type enforcement for strings like "check", even then, probably weakly typed)ephemient
10/02/2024, 6:23 PM