build.gradle文件里面加上如下:
tasks.withType(GroovyCompile) {
groovyOptions.encoding = "MacRoman"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
intellij idea to run gralde spring Chinese garbage problem solution
Guess you like
Origin www.cnblogs.com/jingzhi-sksk/p/12658907.html
Recommended
Ranking