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

This commit is contained in:
Ryan Blue authored and GitHub committed 2024-12-31 08:29:03 -08:00
1 parent 20364e3fd3
commit 2ee0e066e0
1 file changed
+5
+5
View File
@@ -65,6 +65,11 @@ if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxarm3
test.enabled = false test.enabled = false
} }
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
options.encoding = 'UTF-8'
}
// Setup Javadocs to link back to WPILib docs // Setup Javadocs to link back to WPILib docs
javadoc { javadoc {
options { options {