We are trying to use the revrobotics 2m distance sensor i installed the library but when it built the code the following error happened
FAILURE: Build failed with an exception.
-
Where:
Build file ‘C:\Users\meest_weby6n6\Desktop\Robotics\Programming\2020\2020\build.gradle’ line: 66 -
What went wrong:
Could not determine the dependencies of task ‘:jar’.
Could not resolve all files for configuration ‘:runtimeClasspath’.
Could not find com.revrobotics.frc:DistanceSensor-java:0.1.0.
Searched in the following locations:
- file:/C:/Users/Public/wpilib/2020/maven/com/revrobotics/frc/DistanceSensor-java/0.1.0/DistanceSensor-java-0.1.0.pom
- JFrog
- http://www.revrobotics.com/content/sw/max/sdk/maven/com/revrobotics/frc/DistanceSensor-java/0.1.0/DistanceSensor-java-0.1.0.pom
- http://devsite.ctr-electronics.com/maven/release/com/revrobotics/frc/DistanceSensor-java/0.1.0/DistanceSensor-java-0.1.0.pom
- https://repo.maven.apache.org/maven2/com/revrobotics/frc/DistanceSensor-java/0.1.0/DistanceSensor-java-0.1.0.pom
Required by:
project :
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface
BUILD FAILED in 3s
The terminal process terminated with exit code: 1
It seems as though it could not find the library I have tried checking for updates and re installing it but it just says there is nothing to install or there are no updates. Does anyone know a solution to this?