Phoenix Malformed Vendor Dep

(Mind me, this is my first ever subject on here, so it could be messy)

So I was adding the Phoenix Vendordep from their website, which was successful.

When I tried building, it said:
“Malformed Vendor Deps File: Phoenix-frc2022-latest.json”

Is there a reason for this, and can it be fixed?

Did you use install vendor dep (online)? Or offline?

Online I believe

I’ve added other vendordeps like CANSparkMax and they’ve worked just fine

So I would always recommend offline as I believe if you bring the same computer to competition it won’t work without internet. But with the Phoenix libraries there are helpful tools that are also installed with the package Prepare your workstation computer — Phoenix documentation it will automatically put the offline files in the right spot for offline installation.

It’s still giving me a ‘malformed vendor deps’ error, I have no idea why. The command I’ve used before is

'./gradlew vendordep --url=https://maven.ctr-electronics.com/release/com/ctre/phoenix/Phoenix-frc2022-latest.json

Even offline doesn’t work

Never mind, my build.gradle version was outdated, so it never worked

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.