Configure tasks lazily in build script
Configure tasks lazily in build script

Not much gains currently due to `maven-publish` still using
the old API and publish artifacts being eagerly created.

tbroyer/gradle-errorprone-plugin,tbroyer/gradle-errorprone-plugin