Gradle pluggin issues

Hello! My computer is having problems with gradle recently. We have tried many ways to fix it including but not limited to:

  • switching to a personal wifi
  • clean java language server workspace
  • creating a new project
  • making sure we have the team number put in
  • updating gradle

And I continue to get the error:

Starting a Gradle Daemon, 1 incompatible and 12 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Users\lexmi\Desktop\frc code\test-autonomous\build.gradle’ line: 3

  • What went wrong:
    An exception occurred applying plugin request [id: ‘edu.wpi.first.GradleRIO’, version: ‘2022.4.1’]

Failed to apply plugin ‘edu.wpi.first.GradleRIO’.
Could not create plugin of type ‘GradleRIOPlugin’.
Could not generate a decorated class for type GradleRIOPlugin.
edu/wpi/first/deployutils/log/ETLogger

  • 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.

BUILD FAILED in 6s
The terminal process “cmd.exe /d /c gradlew InstallAllTools -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2022\jdk”” terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

The usual cause for that is something corrupted in the gradle cache. Reboot your computer, and before you run anything delete

C:\Users\lexmi\.gradle

See if that fixes the issue. If not, one thing to double check is in

C:\Users\lexmi\Desktop\frc code\test-autonomous\gradle\wrapper\gradle-wrapper.properties

and ensure distributionUrl is https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

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