From: Arnav495 Date: Sat, 17 Jan 2026 01:19:23 +0000 (-0800) Subject: Fix AdvantageKit. X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=4104549b3366e55eadee4c9ba737d6a184f611c8;p=FRC2026.git Fix AdvantageKit. --- diff --git a/build.gradle b/build.gradle index 8f6e6fc..1f516b7 100644 --- a/build.gradle +++ b/build.gradle @@ -51,6 +51,11 @@ wpi.java.debugJni = false // Set this to true to enable desktop support. def includeDesktopSupport = false +task(replayWatch, type: JavaExec) { + mainClass = "org.littletonrobotics.junction.ReplayWatch" + classpath = sourceSets.main.runtimeClasspath +} + // Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries. // Also defines JUnit 5. dependencies { @@ -76,6 +81,9 @@ dependencies { testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + + def akitJson = new groovy.json.JsonSlurper().parseText(new File(projectDir.getAbsolutePath() + "/vendordeps/AdvantageKit.json").text) + annotationProcessor "org.littletonrobotics.akit:akit-autolog:$akitJson.version" } test {