From a2b06bd3dd7264e59b564d67cf8f4d2bb82fa945 Mon Sep 17 00:00:00 2001 From: Matt Morley Date: Sun, 4 Jan 2026 19:23:42 -0800 Subject: [PATCH] Use WPILib Artifactory mirror instead of Maven Central (#2277) ## Description By hitting WPIlib's Artifactory Maven Central mirror instead of Maven Central, we should reduce the number of 403 flakes we see during workflow runs. This also removes jogamp from the repository list, as jogamp dependencies were removed in #1926. ## Meta Merge checklist: - [x] Pull Request title is [short, imperative summary](https://cbea.ms/git-commit/) of proposed changes - [x] The description documents the _what_ and _why_ - [ ] If this PR changes behavior or adds a feature, user documentation is updated - [ ] If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly - [ ] If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2 - [ ] If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated - [ ] If this PR addresses a bug, a regression test for it is added --------- Co-authored-by: samfreund --- build.gradle | 2 +- photonlib-cpp-examples/build.gradle | 1 + photonlib-java-examples/build.gradle | 1 + settings.gradle | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 472136e4e..d44270268 100644 --- a/build.gradle +++ b/build.gradle @@ -15,11 +15,11 @@ plugins { allprojects { repositories { + maven { url = "https://frcmaven.wpi.edu/artifactory/ex-mvn/" } mavenCentral() mavenLocal() maven { url = "https://maven.photonvision.org/releases" } maven { url = "https://maven.photonvision.org/snapshots" } - maven { url = "https://jogamp.org/deployment/maven/" } } wpilibRepositories.addAllReleaseRepositories(it) wpilibRepositories.addAllDevelopmentRepositories(it) diff --git a/photonlib-cpp-examples/build.gradle b/photonlib-cpp-examples/build.gradle index 4ff03b672..0bd30f7c4 100644 --- a/photonlib-cpp-examples/build.gradle +++ b/photonlib-cpp-examples/build.gradle @@ -4,6 +4,7 @@ plugins { allprojects { repositories { + maven { url = "https://frcmaven.wpi.edu/artifactory/ex-mvn/" } mavenCentral() mavenLocal() maven { url = "https://maven.photonvision.org/releases" } diff --git a/photonlib-java-examples/build.gradle b/photonlib-java-examples/build.gradle index 4ff03b672..0bd30f7c4 100644 --- a/photonlib-java-examples/build.gradle +++ b/photonlib-java-examples/build.gradle @@ -4,6 +4,7 @@ plugins { allprojects { repositories { + maven { url = "https://frcmaven.wpi.edu/artifactory/ex-mvn/" } mavenCentral() mavenLocal() maven { url = "https://maven.photonvision.org/releases" } diff --git a/settings.gradle b/settings.gradle index ba2c9b10e..30f98b2fb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,6 @@ pluginManagement { repositories { + maven { url = "https://frcmaven.wpi.edu/artifactory/ex-mvn/" } mavenCentral() gradlePluginPortal() maven {