DeepBlueRobotics / test-board

The code for our new test board
0 stars 0 forks source link

Code doesn't start because wpilib classes are not deployed to the roboRio #4

Closed brettle closed 5 years ago

brettle commented 5 years ago

The console displays "Could not find or load main class edu.wpi.first.wpilibj.RobotBase" and the robot code does not start.

This is because the recent change to build.gradle's "dependencies" section to use "implementation" instead of "compile" made the line "from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }" not pickup the dependencies.

Switching back to using "compile" instead of "implementation" should fix it.