[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

@@ -378,7 +378,7 @@ public final class DynamicStruct {
* @throws IllegalArgumentException if field is not a member of this struct
* @throws IllegalStateException if struct descriptor is invalid
*/
@SuppressWarnings({"PMD.CollapsibleIfStatements", "PMD.AvoidDeeplyNestedIfStmts"})
@SuppressWarnings("PMD.CollapsibleIfStatements")
public String getStringField(StructFieldDescriptor field) {
if (field.getType() != StructFieldType.CHAR) {
throw new UnsupportedOperationException("field is not char type");

View File

@@ -11,11 +11,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Optional;
import org.junit.jupiter.api.Test;
@SuppressWarnings({
"PMD.TestClassWithoutTestCases",
"PMD.UnusedFormalParameter",
"RedundantModifier"
})
@SuppressWarnings({"PMD.TestClassWithoutTestCases", "RedundantModifier"})
class ConstructorMatchTest {
public static class TestClass {
public TestClass() {}