At present, generated Gradle build scripts that use Groovy DSL configure
tasks eagerly. This is both suboptimal and actually not aligned with the
generated build scripts that use Kotlin DSL, which configures tasks
lazily.
This commit updates `GroovyDslGradleBuildWriter` to ensure tasks are
configured lazily.
See gh-1292