Skip to content

Commit

Permalink
Setting default file encoding to UTF-8 (#1440)
Browse files Browse the repository at this point in the history
Otherwise compiling on some ubuntu images results in errors about non-ascii characters
  • Loading branch information
lbergelson authored Nov 27, 2023
1 parent fc5d461 commit 300ab06
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 @@ -163,6 +163,10 @@ jar {
}
}

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

compileJava {
inputs.property("moduleName", moduleName)
doFirst {
Expand Down

0 comments on commit 300ab06

Please sign in to comment.