Skip to content

Commit 05348f3

Browse files
authored
[build] Bump to WPILib 2025.2.1 (#1703)
Signed-off-by: Jade Turner <[email protected]>
1 parent e40c8fb commit 05348f3

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
id "cpp"
55
id "com.diffplug.spotless" version "6.24.0"
66
id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2"
7-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
7+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
88
id 'edu.wpi.first.WpilibTools' version '1.3.0'
99
id 'com.google.protobuf' version '0.9.3' apply false
1010
id 'edu.wpi.first.GradleJni' version '1.1.0'
@@ -33,7 +33,7 @@ ext.allOutputsFolder = file("$project.buildDir/outputs")
3333
apply from: "versioningHelper.gradle"
3434

3535
ext {
36-
wpilibVersion = "2025.1.1"
36+
wpilibVersion = "2025.2.1"
3737
wpimathVersion = wpilibVersion
3838
openCVYear = "2025"
3939
openCVversion = "4.10.0-3"

docs/source/docs/advanced-installation/sw_install/windows-pc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Bonjour provides more stable networking when using Windows PCs. Install [Bonjour
1212

1313
## Installing Java
1414

15-
PhotonVision requires a JDK installed and on the system path. **JDK 17 is needed. Windows Users must use the JDK that ships with WPILib.** [Download and install it from here.](https://github.com/wpilibsuite/allwpilib/releases/tag/v2025.1.1) Either ensure the only Java on your PATH is the WPILIB Java or specify it to gradle with `-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk`:
15+
PhotonVision requires a JDK installed and on the system path. **JDK 17 is needed. Windows Users must use the JDK that ships with WPILib.** [Download and install it from here.](https://github.com/wpilibsuite/allwpilib/releases/tag/v2025.2.1) Either ensure the only Java on your PATH is the WPILIB Java or specify it to gradle with `-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk`:
1616

1717
```
1818
> ./gradlew run "-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk"

photonlib-cpp-examples/aimandrange/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "cpp"
33
id "google-test-test-suite"
4-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
4+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
55
}
66

77
repositories {
@@ -11,8 +11,8 @@ repositories {
1111

1212
wpi.maven.useLocal = false
1313
wpi.maven.useDevelopment = false
14-
wpi.versions.wpilibVersion = "2025.1.1"
15-
wpi.versions.wpimathVersion = "2025.1.1"
14+
wpi.versions.wpilibVersion = "2025.2.1"
15+
wpi.versions.wpimathVersion = "2025.2.1"
1616

1717
// Define my targets (RoboRIO) and artifacts (deployable files)
1818
// This is added by GradleRIO's backing project DeployUtils.

photonlib-cpp-examples/aimattarget/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "cpp"
33
id "google-test-test-suite"
4-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
4+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
55
}
66

77
repositories {
@@ -11,8 +11,8 @@ repositories {
1111

1212
wpi.maven.useLocal = false
1313
wpi.maven.useDevelopment = false
14-
wpi.versions.wpilibVersion = "2025.1.1"
15-
wpi.versions.wpimathVersion = "2025.1.1"
14+
wpi.versions.wpilibVersion = "2025.2.1"
15+
wpi.versions.wpimathVersion = "2025.2.1"
1616

1717
// Define my targets (RoboRIO) and artifacts (deployable files)
1818
// This is added by GradleRIO's backing project DeployUtils.

photonlib-cpp-examples/poseest/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "cpp"
33
id "google-test-test-suite"
4-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
4+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
55
}
66

77
repositories {
@@ -11,8 +11,8 @@ repositories {
1111

1212
wpi.maven.useLocal = false
1313
wpi.maven.useDevelopment = false
14-
wpi.versions.wpilibVersion = "2025.1.1"
15-
wpi.versions.wpimathVersion = "2025.1.1"
14+
wpi.versions.wpilibVersion = "2025.2.1"
15+
wpi.versions.wpimathVersion = "2025.2.1"
1616

1717
// Define my targets (RoboRIO) and artifacts (deployable files)
1818
// This is added by GradleRIO's backing project DeployUtils.

photonlib-java-examples/aimandrange/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "java"
3-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
3+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
44
}
55

66
sourceCompatibility = JavaVersion.VERSION_17
@@ -13,8 +13,8 @@ repositories {
1313
}
1414

1515
wpi.maven.useDevelopment = true
16-
wpi.versions.wpilibVersion = "2025.1.1"
17-
wpi.versions.wpimathVersion = "2025.1.1"
16+
wpi.versions.wpilibVersion = "2025.2.1"
17+
wpi.versions.wpimathVersion = "2025.2.1"
1818

1919

2020
// Define my targets (RoboRIO) and artifacts (deployable files)

photonlib-java-examples/aimattarget/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "java"
3-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
3+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
44
}
55

66
sourceCompatibility = JavaVersion.VERSION_17
@@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_17
99
def ROBOT_MAIN_CLASS = "frc.robot.Main"
1010

1111
wpi.maven.useDevelopment = true
12-
wpi.versions.wpilibVersion = "2025.1.1"
13-
wpi.versions.wpimathVersion = "2025.1.1"
12+
wpi.versions.wpilibVersion = "2025.2.1"
13+
wpi.versions.wpimathVersion = "2025.2.1"
1414

1515

1616
// Define my targets (RoboRIO) and artifacts (deployable files)

photonlib-java-examples/poseest/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "java"
3-
id "edu.wpi.first.GradleRIO" version "2025.1.1"
3+
id "edu.wpi.first.GradleRIO" version "2025.2.1"
44
}
55

66
sourceCompatibility = JavaVersion.VERSION_17
@@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_17
99
def ROBOT_MAIN_CLASS = "frc.robot.Main"
1010

1111
wpi.maven.useDevelopment = true
12-
wpi.versions.wpilibVersion = "2025.1.1"
13-
wpi.versions.wpimathVersion = "2025.1.1"
12+
wpi.versions.wpilibVersion = "2025.2.1"
13+
wpi.versions.wpimathVersion = "2025.2.1"
1414

1515

1616
// Define my targets (RoboRIO) and artifacts (deployable files)

0 commit comments

Comments
 (0)