Hi, I am using gradle version 7.5 with java 17. I ...
# community-support
a
Hi, I am using gradle version 7.5 with java 17. I recently added the following gradle plugin for sonar "org.sonarqube" version 3.4.0.2513 After I run the gradle task sonarqube, I am reciving the following error: 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 'org.gradle.api.provider.Provider org.gradle.api.reporting.Report.getOutputLocation()' 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try: 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace. 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights. 2024-04-10T171453.025-0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Get more help at https://help.gradle.org. 2024-04-10T171453.026-0300 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] 2024-04-10T171453.026-0300 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 2s Any idea what the cause could be?
v
Did you follow the blatant advice?
Also, did you try not using a 2 year old version of that plugin?
a
thanks @Vampire, sorry for the delay I update sonar plugin to the last version and it is working!