Updated to gradle 1.0.0, required these modifications.