When running on a multi-project setup and generating for the root project, there are current deprecation warnings on Gradle 7.3 which will likely need to be addressed/worked around before Gradle 8.
> Task :generateLicenseReport
Resolution of the configuration :subproject-1:runtimeClasspath was attempted from a context different than the project context. Have a look at the documentation to understand why this is a problem and how it can be resolved. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. See https://docs.gradle.org/7.3/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.
When running on a multi-project setup and generating for the root project, there are current deprecation warnings on Gradle 7.3 which will likely need to be addressed/worked around before Gradle 8.
Just logging here to track possible workarounds. I'm not sure at this stage if it's to do with anything particular in our setup, as we do have some specific configuration being applied. https://github.com/gocd/gocd/blob/87abb3057b3fb11a2f594232dccc8b760f66364f/build.gradle#L358-L377