Add the following entry to gradle.properties:

org.gradle.jvmargs='-Dfile.encoding=UTF-8'