updated gradle build script in order to keep up with POM changes