Fix more Gradle errors
More information: http://stackoverflow.com/questions/20699147/gradle-build-fails-on-lint-task