[build] Upgrade Gradle wrapper and plugins (#8767)

This fixes builds on JDK 26 for me.
This commit is contained in:
Tyler Veness
2026-04-12 22:03:50 -07:00
committed by GitHub
parent 476b9641c1
commit 7af3ac579b
34 changed files with 36 additions and 39 deletions

View File

@@ -315,6 +315,7 @@ public abstract class RobotBase implements AutoCloseable {
}
/** Run the robot main loop. */
@SuppressWarnings("PMD.AvoidCatchingGenericException")
private static <T extends RobotBase> void runRobot(Class<T> robotClass) {
System.out.println("********** Robot program starting **********");

View File

@@ -198,7 +198,7 @@ public class SerialPort implements AutoCloseable {
}
/**
* Enable termination with the default terminator '\n'
* Enable termination with the default terminator '\n'.
*
* <p>Termination is currently only implemented for receive. When the terminator is received, the
* read() or readString() will return fewer bytes than requested, stopping after the terminator.

View File

@@ -87,7 +87,7 @@ public class ExpansionHub implements AutoCloseable {
private final DataStore m_dataStore;
/**
* Constructs a new ExpansionHub for a given USB ID
* Constructs a new ExpansionHub for a given USB ID.
*
* <p>Multiple instances can be constructed, but will point to the same backing object with a ref
* count.

View File

@@ -110,7 +110,7 @@ public class ExpansionHubServo implements AutoCloseable {
}
/**
* Sets the servo angle
* Sets the servo angle.
*
* <p>Servo angles range defaults to 0 to 180 degrees, but can be changed with setAngleRange().
*

View File

@@ -31,7 +31,6 @@ public abstract class MotorSafety {
private static final Object m_listMutex = new Object();
private static Thread m_safetyThread;
@SuppressWarnings("PMD.AssignmentInOperand")
private static void threadMain() {
int event = WPIUtilJNI.makeEvent(false, false);
DriverStationJNI.provideNewDataEventHandle(event);

View File

@@ -170,7 +170,7 @@ public class DutyCycleEncoder implements Sendable, AutoCloseable {
}
/**
* Get if the sensor is connected
* Get if the sensor is connected.
*
* <p>This uses the duty cycle frequency to determine if the sensor is connected. By default, a
* value of 100 Hz is used as the threshold, and this value can be changed with {@link