Upgrade Maven dependencies (#5553)

The following source code changes were required:

* Whitespace changes from spotless
* PMD warning suppressions for utility class tests
* PMD warning rename from "BeanMembersShouldSerialize" to
  "NonSerializableClass"
* Declared more class members as final
This commit is contained in:
Tyler Veness
2023-08-18 19:18:33 -07:00
committed by GitHub
parent 7a2d336d52
commit 96f7fa662e
25 changed files with 66 additions and 38 deletions

View File

@@ -37,13 +37,13 @@ dependencies {
implementation project(':cameraserver')
implementation project(':wpilibNewCommands')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
}
jacoco {
toolVersion = "0.8.8"
toolVersion = "0.8.10"
}
jacocoTestReport {

View File

@@ -16,8 +16,8 @@ import edu.wpi.first.wpilibj.examples.unittest.subsystems.Intake;
* project.
*/
public class Robot extends TimedRobot {
private Intake m_intake = new Intake();
private Joystick m_joystick = new Joystick(Constants.kJoystickIndex);
private final Intake m_intake = new Intake();
private final Joystick m_joystick = new Joystick(Constants.kJoystickIndex);
/** This function is called periodically during operator control. */
@Override