Skip to content

Commit eb3a128

Browse files
authored
Update build.gradle (#21)
解决windows下构建项目出现的编码错误问题 #19 ```release-note None ```
1 parent ba473f7 commit eb3a128

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ test {
2727
useJUnitPlatform()
2828
}
2929

30+
tasks.withType(JavaCompile).configureEach {
31+
options.encoding = "UTF-8"
32+
}
33+
3034
node {
3135
nodeProjectDir = file("${project.projectDir}/console")
3236
}

0 commit comments

Comments
 (0)