Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 924 Bytes

File metadata and controls

13 lines (11 loc) · 924 Bytes

Updating project

Steps to update the project. These are more or less equivalent to what the WPILib project importer does but I find it nicer to know exactly what's changing.

  1. Download and install WPILib VS Code and tools from https://github.com/wpilibsuite/allwpilib/releases
  2. Open WPILib VS Code and create a new command-based template project
  3. Copy the GradleRIO plugin version from the template build.gradle to the robot build.gradle
  4. Make sure Java version in robot build.gradle is set to at least the version in the template
  5. Copy gradlew, gradlew.bat, and the entire gradle folder into the robot project
  6. Copy vendordeps/WPILibNewCommands.json into the robot project
  7. Update the projectYear in .wpilib/wpilib_preferences.json
  8. Update the rest of the vendor dependency JSON files by downloading them fromm the vendors' websites
  9. Fix any compilation errors in the robot code due to library changes