use wpilibYear not year (#2508)

This commit is contained in:
Sam Freund
2026-05-26 23:04:25 -04:00
committed by GitHub
parent e9006a2803
commit 860d6807a8
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ ext {
libcameraDriverVersion = "v2027.0.0-alpha-1"
rknnVersion = "dev-v2026.0.1-3-g14c3ecb"
tfliteVersion = "v2027.0.2-alpha-1"
year = "2027_alpha5"
wpilibYear = "2027_alpha5"
mrcalVersion = "v2027.0.2";
pubVersion = versionString

View File

@@ -157,7 +157,7 @@ task generateVendorJson() {
def read = photonlibFileInput.text
.replace('${photon_version}', pubVersion)
.replace('${year}', year)
.replace('${wpilib_year}', wpilibYear)
photonlibFileOutput.text = read
outputs.upToDateWhen { false }

View File

@@ -3,7 +3,7 @@
"name": "photonlib",
"version": "${photon_version}",
"uuid": "515fe07e-bfc6-11fa-b3de-0242ac130004",
"year": "${year}",
"wpilibYear": "${wpilib_year}",
"mavenUrls": [
"https://maven.photonvision.org/repository/internal",
"https://maven.photonvision.org/repository/snapshots"