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