Fixes for corresponding to the Gradle 0.12.2.