To avoid special character warnings when creating Java source code, I put this line in my gradle.build , which worked fine before upgrading to Gradle 2.0:
tasks.withType(Compile) { options.encoding = "UTF-8" }
After the update, this fails with the following error:
Could not find property 'Compile' on root project
How can i fix this?
java gradle
Matthias Braun Jul 10 '14 at 4:54
source share