Upgrading to Gradle 1.11
Fix compile errors.