[build] Upgrade Gradle plugins (#8166)

I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made
breaking changes, and I couldn't figure out how to migrate.

Most of the changes are for suppressing new linter purification rites.
This commit is contained in:
Tyler Veness
2025-08-08 23:04:02 -07:00
committed by GitHub
parent 5fd9e1e72a
commit 9ac7e286f5
147 changed files with 289 additions and 243 deletions

View File

@@ -11,6 +11,7 @@ import java.lang.reflect.Field;
* your `close` method, that will use reflection to find all `AutoCloseable` instance members and
* close them.
*/
@SuppressWarnings("PMD.ImplicitFunctionalInterface")
public interface ReflectionCleanup extends AutoCloseable {
/**
* Default implementation that uses reflection to find all AutoCloseable fields not marked

View File

@@ -5,6 +5,7 @@
package edu.wpi.first.util.sendable;
/** The base interface for objects that can be sent over the network. */
@SuppressWarnings("PMD.ImplicitFunctionalInterface")
public interface Sendable {
/**
* Initializes this {@link Sendable} object.

View File

@@ -435,7 +435,6 @@ public final class StructGenerator {
}
int size = 0;
boolean failed = false;
for (final E constant : enumVariants) {
final String name = constant.name();
@@ -452,6 +451,8 @@ public final class StructGenerator {
.filter(f -> !f.isEnumConstant() && !Modifier.isStatic(f.getModifiers()))
.toList();
boolean failed = false;
for (final Field field : enumFields) {
final Class<?> type = field.getType();
final String name = field.getName();