Sonarqube Gradle task with Gradle 8 produces a crash on Report.getOutputLocation

Hi, I’m still having a similar issue:
I’m using the plugin “org.sonarqube” version “3.5.0.2730”

FAILURE: Build failed with an exception.

* What went wrong:
'org.gradle.api.provider.Provider org.gradle.api.reporting.Report.getOutputLocation()'
$ ./gradlew --version

------------------------------------------------------------
Gradle 8.7
------------------------------------------------------------

Build time:   2024-03-22 15:52:46 UTC
Revision:     650af14d7653aa949fce5e886e685efc9cf97c10

Kotlin:       1.9.22
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          21.0.1 (Oracle Corporation 21.0.1+12-LTS-29)
OS:           Windows 11 10.0 amd64