Browse Source

Set compile encoding to UTF-8

Luke Taylor 15 years ago
parent
commit
e7883024d9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gradle/javaprojects.gradle

+ 2 - 0
gradle/javaprojects.gradle

@@ -47,6 +47,8 @@ dependencies {
 
 sourceSets.main.compileClasspath += configurations.compileOnly
 
+[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
+
 System.setProperty('apacheDSWorkDir', "${buildDir}/apacheDSWork")
 
 test {