No possibility to set file.encoding for junit tests in Gradle 2.13 and odler

Hello Manfred,

I am using this in the main build.gradle file:

allprojects {
    tasks.withType(JavaCompile) {
        options.encoding = 'UTF-8'
    }
        
    tasks.withType(Test) {
       systemProperty "file.encoding", "UTF-8"
    }
}