diff --git a/developerRobot/build.gradle b/developerRobot/build.gradle index ecace3b40e..da12ffe0d2 100644 --- a/developerRobot/build.gradle +++ b/developerRobot/build.gradle @@ -53,12 +53,23 @@ dependencies { implementation project(':cscore') implementation project(':cameraserver') implementation project(':commandsv2') + implementation project(':commandsv3') implementation project(':apriltag') implementation project(':wpiunits') implementation project(':epilogue-runtime') annotationProcessor project(':epilogue-processor') } +tasks.withType(JavaExec).configureEach { + // Commands v3 needs reflective access to the continuation classes + jvmArgs += [ + '--add-opens', + 'java.base/jdk.internal.vm=ALL-UNNAMED', + '--add-opens', + 'java.base/java.lang=ALL-UNNAMED', + ] +} + tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach { onlyIf { false } }