Updated build settings to use gradle 0.12+ and remove gradle apply