tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}

tasks.withType(Test) {
    systemProperty "file.encoding", "UTF-8"
}

gradle执行测试读取文件乱码

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-12-30
  • 2021-05-29
  • 2021-06-21
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-07
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-04
  • 2021-04-06
相关资源
相似解决方案