From 0db16ac260d370304d674b9d88c483ba5c385178 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 26 May 2024 18:01:45 -0500 Subject: [PATCH] Update wpilib and set version (#12) --- build.gradle | 3 ++- publish.gradle | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 0f330dd..1f6646b 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ ext { pubVersion = versionString isDev = pubVersion.startsWith("dev") - wpilibVersion = "2024.2.1" + wpilibVersion = "2024.3.2" wpimathVersion = wpilibVersion openCVversion = "4.8.0-2" } @@ -31,6 +31,7 @@ ext { wpi.getVersions().getOpencvVersion().convention(openCVversion); wpi.getVersions().getWpilibVersion().convention(wpilibVersion); wpi.getVersions().getWpimathVersion().convention(wpimathVersion); +wpilibTools.deps.wpilibVersion = wpilibVersion java { sourceCompatibility = JavaVersion.VERSION_11 diff --git a/publish.gradle b/publish.gradle index 99d5b86..c3df181 100644 --- a/publish.gradle +++ b/publish.gradle @@ -16,10 +16,10 @@ build.dependsOn nativeLibraryJar publishing { repositories { maven { - url ('https://maven.photonvision.org/repository/' + (isDev ? 'snapshots' : 'internal')) + url ('https://maven.photonvision.org/' + (isDev ? 'snapshots' : 'releases')) credentials { username 'ghactions' - password 'kCPJugusxV5i8F' + password System.getenv("ARTIFACTORY_API_KEY") } } }