tasks.withType(JavaCompile) { options.encoding = "UTF-8" } tasks.withType(Test) { systemProperty "file.encoding", "UTF-8" }
gradle执行测试读取文件乱码
最新推荐文章于 2024-07-19 17:20:31 发布
tasks.withType(JavaCompile) { options.encoding = "UTF-8" } tasks.withType(Test) { systemProperty "file.encoding", "UTF-8" }