From 1631584242a3f36c65a9a42787ca5e1e1bd78588 Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Thu, 30 Apr 2026 12:17:30 -0500 Subject: [PATCH] Make the deploy task depend on the test task. To avoid running the unit tests, you can add `-x test` to the deploy invocation. Do this at your own risk, as this undoes the protection the unit tests give us --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 7f9088d5..9d9b42e6 100644 --- a/build.gradle +++ b/build.gradle @@ -72,6 +72,8 @@ deploy { } } +tasks.deploy.dependsOn(test) + def deployArtifact = deploy.targets.roborio.artifacts.frcJava // Set to true to use debug for all targets including JNI, which will drastically impact