Add string concat and UTF-8 options from allwpilib (#48)

This commit is contained in:
Ryan Blue 2024-12-31 11:29:03 -05:00 committed by GitHub
parent 20364e3fd3
commit 2ee0e066e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {