Skip to content

Commit a5b4625

Browse files
committed
fix(gradle): fix non-UTF-8 envrionment cause gradle command break
1 parent 02df298 commit a5b4625

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ java {
1313
targetCompatibility = JavaVersion.VERSION_1_8
1414
}
1515

16+
tasks.withType<JavaCompile> {
17+
options.encoding = "UTF-8"
18+
}
19+
1620
tasks.shadowJar {
1721
manifest {
1822
attributes(

0 commit comments

Comments
 (0)