The dependency-check gradle plugin is a Software Composition Analysis (SCA) tool that allows projects to monitor dependent libraries for known, published vulnerabilities.
When I try to run any task from this Plugin, using the Kotlin DSL and Gradle Plugin version 8.0, such as ./gradlew dependencyCheckUpdate, I get his error related with Jackson:
Execution failed for task ':dependencyCheckUpdate'.
> class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method com.fasterxml.jackson.databind.deser.SettableBeanProperty.getDeclaringClass()Ljava/lang/Class;
I tried multiple combinations of forcing the Jackson version, also adding additional Jackson dependencies -based on suggestions that I found on StackOverflow. But none of this it worked:
When I try to run any task from this Plugin, using the Kotlin DSL and Gradle Plugin version 8.0, such as
./gradlew dependencyCheckUpdate
, I get his error related with Jackson:I tried multiple combinations of forcing the Jackson version, also adding additional Jackson dependencies -based on suggestions that I found on StackOverflow. But none of this it worked:
Any idea how could I fix this issue? The thing is that jackson version that this plugin uses is really old, maybe it is worth it bumping it?