Skip to content

Commit

Permalink
Add string concat and UTF-8 options from allwpilib (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue authored Dec 31, 2024
1 parent 20364e3 commit 2ee0e06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxarm3
test.enabled = false
}

tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
options.encoding = 'UTF-8'
}

// Setup Javadocs to link back to WPILib docs
javadoc {
options {
Expand Down

0 comments on commit 2ee0e06

Please sign in to comment.