Skip to content

Commit

Permalink
Modify build.gradle to handle utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
danadi7 committed Sep 6, 2020
1 parent 61cffff commit 946684b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ test {
showStackTraces true
showStandardStreams = false
}

systemProperty "file.encoding", "utf-8"
}

application {
Expand All @@ -43,4 +45,11 @@ checkstyle {

run{
standardInput = System.in
systemProperty "file.encoding", "utf-8"
}

compileJava.options.encoding = 'UTF-8'

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

0 comments on commit 946684b

Please sign in to comment.