Gradle Deprecated Error

I made a post on this earlier but we did not have a proper github setup but now we do. We’re getting an error intermittently when we deploy that state there is a deprecated gradle which prevents our code from building/deploying. This issue auto-resolves itself sometimes if we try to restart the computer, restart vscode, pull from our git, or some combination of that. Because of this, we know for sure that it isn’t an error in the code, as it resolves itself sometimes without us changing anything in the code.

Our github:

EDIT: Github is now public.
EDIT2: Github is privated for now.

First thing to check would be the vscode version and the roborio image. It would also be helpful if you could post the pictures exact error or the output of the build.

All our software are is up to date (most recent NI version) but we will try to reimage our RIO to see if that solves the issue.

ALSO it states that its a code error but there is nothing in the code that is erroring and our way to fix it temporarily does not have us editing the code at all.

What version of woolen are you using? It is often the cause of mysterious grádele issues. I have a chem test in 10 min but I will follow up with your response as soon as I can.

Try building the code, not deploying and see what it says. Although if you are talking about the compilation error it will say that for almost everything.

What is woolen?

Googling your error shows that this usually happens to people who store their robot code in OneDrive. Try moving it out of OneDrive, and I would also update WPILib while you are there (you are a couple versions behind).

Source

Our code was in OneDrive so we’re gonna move it. For now I’m marking this as the solution and will come back to it if it doesn’t work.

1 Like

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