From 1a219274cb4d90d6c82f0bb0ccdbf5b1d1d3da9f Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Tue, 21 Nov 2023 18:21:24 -0500 Subject: [PATCH] fix gradle --- photon-core/build.gradle | 1 - photon-lib/build.gradle | 1 + photon-server/build.gradle | 8 -------- photon-targeting/build.gradle | 1 + shared/common.gradle | 1 + 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/photon-core/build.gradle b/photon-core/build.gradle index 6fbf407797..dafd62f141 100644 --- a/photon-core/build.gradle +++ b/photon-core/build.gradle @@ -24,7 +24,6 @@ dependencies { // Zip implementation 'org.zeroturnaround:zt-zip:1.14' - implementation wpilibTools.deps.wpilibJava("apriltag") implementation "org.xerial:sqlite-jdbc:3.41.0.0" } diff --git a/photon-lib/build.gradle b/photon-lib/build.gradle index 9858e157d3..ebd30ad239 100644 --- a/photon-lib/build.gradle +++ b/photon-lib/build.gradle @@ -47,6 +47,7 @@ dependencies { implementation wpilibTools.deps.wpilibJava("hal") implementation wpilibTools.deps.wpilibJava("wpilibj") implementation wpilibTools.deps.wpilibJava("apriltag") + implementation wpilibTools.deps.wpilibJava("wpiunits") implementation wpilibTools.deps.wpilibOpenCvJava("frc" + wpi.frcYear.get(), wpi.versions.opencvVersion.get()) implementation group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: wpi.versions.jacksonVersion.get() diff --git a/photon-server/build.gradle b/photon-server/build.gradle index 2fdfcff4ec..8aaef99ec3 100644 --- a/photon-server/build.gradle +++ b/photon-server/build.gradle @@ -22,14 +22,6 @@ dependencies { implementation "io.javalin:javalin:$javalinVersion" implementation "org.slf4j:slf4j-simple:2.0.7" - implementation wpilibTools.deps.wpilibJava("wpiutil") - implementation wpilibTools.deps.wpilibJava("wpimath") - implementation wpilibTools.deps.wpilibJava("wpinet") - implementation wpilibTools.deps.wpilibJava("hal") - implementation wpilibTools.deps.wpilibJava("ntcore") - implementation wpilibTools.deps.wpilibJava("wpilibj") - implementation wpilibTools.deps.wpilibOpenCv("frc" + wpi.frcYear.get(), wpi.versions.opencvVersion.get()) - implementation "org.msgpack:msgpack-core:0.9.0" implementation "org.msgpack:jackson-dataformat-msgpack:0.9.0" } diff --git a/photon-targeting/build.gradle b/photon-targeting/build.gradle index 47eff41568..6df75d8222 100644 --- a/photon-targeting/build.gradle +++ b/photon-targeting/build.gradle @@ -40,6 +40,7 @@ dependencies { implementation wpilibTools.deps.wpilibJava("hal") implementation wpilibTools.deps.wpilibJava("wpilibj") implementation wpilibTools.deps.wpilibJava("apriltag") + implementation wpilibTools.deps.wpilibJava("wpiunits") implementation wpilibTools.deps.wpilibOpenCvJava("frc" + wpi.frcYear.get(), wpi.versions.opencvVersion.get()) implementation group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: wpi.versions.jacksonVersion.get() diff --git a/shared/common.gradle b/shared/common.gradle index dc3331ff16..02aebd1c00 100644 --- a/shared/common.gradle +++ b/shared/common.gradle @@ -38,6 +38,7 @@ dependencies { implementation wpilibTools.deps.wpilibJava("hal") implementation wpilibTools.deps.wpilibJava("wpilibj") implementation wpilibTools.deps.wpilibJava("apriltag") + implementation wpilibTools.deps.wpilibJava("wpiunits") implementation wpilibTools.deps.wpilibOpenCvJava("frc" + wpi.frcYear.get(), wpi.versions.opencvVersion.get()) // Jackson