build.gradle setup pulling latest wpilib from repo? #312
-
It appears that For some reason, VSCode is now showing No releases have been made since the commit deprecating this; is the build.gradle somehow getting the latest wpilib code from the wpilib repo? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
You'll likely want to ask over at the WPILib repo about this. Is your version of GradleRIO in build.gradle hardcoded to a specific version (should be line 3)? |
Beta Was this translation helpful? Give feedback.
-
@mjansen4857 The dependencies in the implementation 'edu.wpi.first.wpilibNewCommands:wpilibNewCommands-java:2023.+' pathplanner/pathplannerlib/build.gradle Lines 28 to 46 in fc33c44 Resolved, thanks |
Beta Was this translation helpful? Give feedback.
I dealt with a lot of errors like this while developing before the 2023 season and it shouldn't need a reinstall. You don't even need WPILib installed at all to develop projects like this since Gradle takes care of all of it. The release mode flag is case sensitive, so make sure it is exactly
-PreleaseMode
I'm not sure how VSCode handles the intellisense, but it always seems to do weird things for me. The intellisense might be fixed after you get a release mode build working. I usually just use IntelliJ instead of VSCode, it has a much better understanding of Gradle projects and the intellisense is usually more useful.