Closed gabrieljones closed 3 years ago
From https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html I think it is:
jvmArgs '-Dfile.encoding=UTF-8'
And if you want to set that across all test tasks:
tasks.withType(Test) {
jvmArgs '-Dfile.encoding=UTF-8'
}
How do I pass
-Dfile.encoding=UTF-8
to the jvm running ScalaTest?i.e. What is the equivalent of
<argLine>-Dfile.encoding=UTF-8</argLine>
from scalatest-maven-plugin