customize and repair gradle build for android studio