mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
use wpilibYear not year (#2508)
This commit is contained in:
@@ -43,7 +43,7 @@ ext {
|
|||||||
libcameraDriverVersion = "v2027.0.0-alpha-1"
|
libcameraDriverVersion = "v2027.0.0-alpha-1"
|
||||||
rknnVersion = "dev-v2026.0.1-3-g14c3ecb"
|
rknnVersion = "dev-v2026.0.1-3-g14c3ecb"
|
||||||
tfliteVersion = "v2027.0.2-alpha-1"
|
tfliteVersion = "v2027.0.2-alpha-1"
|
||||||
year = "2027_alpha5"
|
wpilibYear = "2027_alpha5"
|
||||||
mrcalVersion = "v2027.0.2";
|
mrcalVersion = "v2027.0.2";
|
||||||
|
|
||||||
pubVersion = versionString
|
pubVersion = versionString
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ task generateVendorJson() {
|
|||||||
|
|
||||||
def read = photonlibFileInput.text
|
def read = photonlibFileInput.text
|
||||||
.replace('${photon_version}', pubVersion)
|
.replace('${photon_version}', pubVersion)
|
||||||
.replace('${year}', year)
|
.replace('${wpilib_year}', wpilibYear)
|
||||||
photonlibFileOutput.text = read
|
photonlibFileOutput.text = read
|
||||||
|
|
||||||
outputs.upToDateWhen { false }
|
outputs.upToDateWhen { false }
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"name": "photonlib",
|
"name": "photonlib",
|
||||||
"version": "${photon_version}",
|
"version": "${photon_version}",
|
||||||
"uuid": "515fe07e-bfc6-11fa-b3de-0242ac130004",
|
"uuid": "515fe07e-bfc6-11fa-b3de-0242ac130004",
|
||||||
"year": "${year}",
|
"wpilibYear": "${wpilib_year}",
|
||||||
"mavenUrls": [
|
"mavenUrls": [
|
||||||
"https://maven.photonvision.org/repository/internal",
|
"https://maven.photonvision.org/repository/internal",
|
||||||
"https://maven.photonvision.org/repository/snapshots"
|
"https://maven.photonvision.org/repository/snapshots"
|
||||||
|
|||||||
Reference in New Issue
Block a user