mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Upgrade maven deps to latest versions and fix new linter errors (#3772)
This also makes the Gradle build work with JDK 17. The extra JVM args in gradle.properties works around a bug with spotless and JDK 17: https://github.com/diffplug/spotless/issues/834 PMD.CloseResource was ignored because it's almost always a false positive, and there are many of them.
This commit is contained in:
@@ -64,6 +64,7 @@ class UnitsTest extends UtilityClassTest<Units> {
|
||||
assertEquals(1500, Units.secondsToMilliseconds(1.5), 1e-2);
|
||||
}
|
||||
|
||||
@Test
|
||||
void kilogramsToLbsTest() {
|
||||
assertEquals(2.20462, Units.kilogramsToLbs(1), 1e-2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user