Caleb Cushing
06/11/2024, 8:39 PM.configure on a task? meaning is there a difference here?
tasks.compileJava {
dependsOn(tasks.named("graphqlCodegen"))
}
and
tasks.compileJava.configure {
dependsOn(tasks.named("graphqlCodegen"))
}Adam
06/11/2024, 10:26 PM.configure {} is necessary for task.run - otherwise it gets confused with Kotlin's run {}
tasks.run { } // uses Kotlin scope function
tasks.run.configure { } // configure the task