build.gradle: Set source file encoding for test classes to UTF-8.

This commit is contained in:
Andreas Schildbach 2021-09-15 12:32:13 +02:00
parent 31187c28fe
commit 817a1cb54a

View file

@ -41,6 +41,12 @@ compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
sourceCompatibility '1.8'
targetCompatibility '1.8'
options.encoding = 'UTF-8'
}
test {
exclude 'de/schildbach/pte/live/**'
}