improved gradleization

got latest version of wrapper and changed version of groovy to run with