mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Upgrade Gradle wrapper and plugins (#8767)
This fixes builds on JDK 26 for me.
This commit is contained in:
@@ -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 **********");
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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().
|
||||
*
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user