gradle fixes for 1.0