Extend support for configuring the whole Groovy task
Use standard src/main/groovy directory to avoid joint compilation issues