[gradle.build] Corrected gradle build script to use new maven() instead of mavenRepo()