Executing gradlew generateLicenseReport fails with Gradle 9.0.0:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateLicenseReport'.
> Resolution of the configuration ':api:runtimeClasspath' was attempted without an exclusive lock. This is unsafe and not allowed.
* Try:
> For more information, please refer to https://docs.gradle.org/9.0.0/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors in the Gradle documentation.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
This worked on Gradle 8.14.3.
Workaround: execute the task with --no-parallel
Executing
gradlew generateLicenseReportfails with Gradle 9.0.0:This worked on Gradle 8.14.3.
Workaround: execute the task with
--no-parallel