Fix gradleVersion access
Fix #5: No error when run without -q
upgrade to groovy 2.3.6