update build.gradle and Groovy DSL