is there any actual difference by using `.configur...
# community-support
c
is there any actual difference by using
.configure
on a task? meaning is there a difference here?
Copy code
tasks.compileJava {
  dependsOn(tasks.named("graphqlCodegen"))
}
and
Copy code
tasks.compileJava.configure {
  dependsOn(tasks.named("graphqlCodegen"))
}
although using
.configure {}
is necessary for
task.run
- otherwise it gets confused with Kotlin's run {}
Copy code
tasks.run { } // uses Kotlin scope function

tasks.run.configure { } // configure the task