frc-characterization icon indicating copy to clipboard operation
frc-characterization copied to clipboard

WPILib update (2020.2.2) incompatibility

Open lmkenney opened this issue 5 years ago • 4 comments

Project will not deploy with WPILib update (2020.2.2) - error message indicates it is looking for the older version of the library

lmkenney avatar Jan 25 '20 16:01 lmkenney

Could you please give the full error message?

This project is standalone to the normal WPILib install so it shouldn't matter.

Daltz333 avatar Jan 25 '20 16:01 Daltz333

FAILURE: Build failed with an exception.

  • Where:

Build file 'C:\Users\TB-Th\characterization-project\build.gradle' line: 3

  • What went wrong:

Plugin [id: 'edu.wpi.first.GradleRIO', version: '2020.1.2'] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in 'org.gradle' namespace)

  • Plugin Repositories (could not resolve plugin artifact 'edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2020.1.2')

    Searched in the following repositories: MavenLocal(file:/C:/Users/TB-Th/.m2/repository) Gradle Central Plugin Repository frcHome(file:/C:/Users/Public/wpilib/2020/maven/)

  • 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

BUILD FAILED in 1s

On Sat, Jan 25, 2020 at 11:17 AM Dalton Smith [email protected] wrote:

Could you please give the full error message?

This project is standalone to the normal WPILib install so it shouldn't matter.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wpilibsuite/frc-characterization/issues/105?email_source=notifications&email_token=AOMASOBOCKN62T66TZQUBJDQ7RQ2PA5CNFSM4KLRTS32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ47VSI#issuecomment-578419401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMASOEKOFX7CT3XX3CPWXTQ7RQ2PANCNFSM4KLRTS3Q .

lmkenney avatar Jan 25 '20 16:01 lmkenney

If you do a deploy while connected to the internet it will download the dependencies, and then you can do another deploy while connected to the robot.

sciencewhiz avatar Jan 25 '20 16:01 sciencewhiz

~~Was this resolved? WPILib is now on 2020.3.2 anyway.~~ The build.gradle templates use GradleRIO/WPILib 2020.1.2. Should they be upgraded?

Starlight220 avatar Sep 18 '20 09:09 Starlight220