Fixed gradle build script