Set encoding for java tests

The java compiler in the builder with new base image defaults to ASCII encoding.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=242726695
This commit is contained in:
jianglai 2019-04-09 13:20:02 -07:00
parent 896cc252e7
commit ec9e4e6475

View file

@ -263,6 +263,8 @@ subprojects {
targetCompatibility = '1.8'
compileJava { options.encoding = "UTF-8" }
compileTestJava { options.encoding = "UTF-8" }
gradleLint.rules = [
// Checks if Gradle wrapper is up-to-date