Skip to content

Commit

Permalink
Update build.gradle (#21)
Browse files Browse the repository at this point in the history
解决windows下构建项目出现的编码错误问题 #19 

```release-note
None
```
  • Loading branch information
yangzidemuou authored Dec 14, 2023
1 parent ba473f7 commit eb3a128
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ test {
useJUnitPlatform()
}

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

node {
nodeProjectDir = file("${project.projectDir}/console")
}
Expand Down

0 comments on commit eb3a128

Please sign in to comment.