From 2ee0e066e09a37843e293f11c6493da529d54a9e Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Tue, 31 Dec 2024 11:29:03 -0500 Subject: [PATCH] Add string concat and UTF-8 options from allwpilib (#48) --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 6500236..a424c2c 100644 --- a/build.gradle +++ b/build.gradle @@ -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 {