Hi guys, after a couple days of fighting Im asking for help, I am not able to solve this problem, it came after upgrading gradle from version 7x to 8.7. Could anyone can help?
Arthur Smith
12/25/2024, 5:41 PM
FAILURE: Build failed with an exception.
* What went wrong:
'org.gradle.api.provider.Provider org.gradle.api.reporting.Report.getOutputLocation()'
Arthur Smith
12/25/2024, 5:44 PM
There is only one place in the project where I use this method getOutputLocation() - in Jacoco reports, but it keeps showing up even without that invocation
v
Vampire
12/25/2024, 8:13 PM
Did you do what the error message suggests?
If yes, why don't your share the additional information, especially the
--stacktrace
or optimally a build
--scan
URL.
If not, why not?
Vampire
12/25/2024, 8:15 PM
Besides that, the imho best upgrade path is
• Update to latest patch version within the same major version
• Update all plugins as far as compatible
• Fix all deprecation warnings
• Update to the latest patch version in the directly following major version
• Go back to second step until at target version
This usually makes a smooth upgrade path without build breakage