Skip to content

Commit

Permalink
Use UTF-8 decoding for java source files
Browse files Browse the repository at this point in the history
This is the default on Linux and Mac, but not on Windows. This should standardize across platforms.
  • Loading branch information
tonygermano authored and gbrail committed Aug 30, 2024
1 parent 4e6523b commit 650ec29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildSrc/src/main/groovy/rhino.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ dependencies {
testImplementation "javax.xml.soap:javax.xml.soap-api:1.4.0"
}

compileJava {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs = [
'-Xlint:deprecation,unchecked'
]
Expand Down

0 comments on commit 650ec29

Please sign in to comment.