Could not determine the dependencies, when importing from Kauailabs

We tried importing this library both with and without a school wifi, but both bring this same message when trying to build gradle.

  • What went wrong:
    Could not determine the dependencies of task ‘:jar’.

Could not resolve all files for configuration ‘:runtimeClasspath’.
Could not find com.kauailabs.navx.frc:navx-java:4.0.444.
Searched in the following locations:
- file:/C:/Users/Public/wpilib/2022/maven/com/kauailabs/navx/frc/navx-java/4.0.444/navx-java-4.0.444.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.