mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[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:
@@ -9,7 +9,7 @@ package edu.wpi.first.units.measure;
|
||||
import static edu.wpi.first.units.Units.*;
|
||||
import edu.wpi.first.units.*;
|
||||
|
||||
@SuppressWarnings({"unchecked", "cast", "checkstyle", "PMD"})
|
||||
@SuppressWarnings({"unchecked", "cast", "checkstyle"})
|
||||
public record Immutable{{ helpers['type_decl'](name) }}(double magnitude, double baseUnitMagnitude, {{ helpers['mtou'](name) }} unit) implements {{ helpers['type_usage'](name) }} {
|
||||
@Override
|
||||
public {{ helpers['type_usage'](name) }} copy() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import static edu.wpi.first.units.Units.*;
|
||||
import edu.wpi.first.units.*;
|
||||
import edu.wpi.first.units.mutable.MutableMeasureBase;
|
||||
|
||||
@SuppressWarnings({"unchecked", "cast", "checkstyle", "PMD"})
|
||||
@SuppressWarnings({"unchecked", "cast", "checkstyle"})
|
||||
public final class Mut{{ helpers['type_decl'](name) }}
|
||||
extends MutableMeasureBase<{{ helpers['mtou'](name) }}, {{ helpers['type_usage'](name) }}, Mut{{ helpers['type_usage'](name) }}>
|
||||
implements {{ helpers['type_usage'](name) }} {
|
||||
|
||||
Reference in New Issue
Block a user