gradle 指定utf-8

This commit is contained in:
liwen
2020-11-26 10:14:27 +08:00
parent 430ddff79a
commit 43e8b5eb75
4 changed files with 6 additions and 0 deletions

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -50,3 +50,6 @@ dependencies {
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}

View File

@@ -45,3 +45,6 @@ dependencies {
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}