Hi
After an upgrade to 8.3 from 8.1, I have the following issue
> What went wrong:
> Could not determine the dependencies of task ':spring-boot-application:test'.
> Could not create task ':spring-boot-application:bootJar'.
> Cannot change artifacts of dependency configuration ':spring-boot-application:runtimeElements' after it has been included in dependency resolution.
My setup is :
- a multiproject spring application
- each subproject is a module
- one of the subproject is the spring application
- one of the subproject is the jacoco agregation report based on Aggregating code coverage with JaCoCo using a standalone utility project (Incubating) Sample So this prokect reference the :spring-boot-application project to retrieve the dependencies
If I remove
tasks.named('check') {
dependsOn tasks.named('testCodeCoverageReport', JacocoReport)
}
the build is working
Update 1
There is something else, the issue is also fixed when I downgrade nebula maven publish to version < 20.3.0. (Comparing v20.2.0...v20.3.0 · nebula-plugins/nebula-publishing-plugin · GitHub)
I canât explain for the moment
Update 2
I did my best to divide and remove all company work
From my shell :
gfc-Services$ ./gradlew clean check
[Incubating] Problems report is available at: file:///home/lagoueyte/dev/repos/gfc/gfc-Services/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task â:spring-boot-application:testâ.
Could not create task â:spring-boot-application:bootJarâ.
Cannot change artifacts of dependency configuration â:spring-boot-application:runtimeElementsâ after it has been included in dependency resolution.
I tried different approches to identify the culprit but didnât find the real root cause.
Any ideas ?
thanks
gfc-Services.zip (1.8 MB)