Updated gradle build script