Open haliltprkk opened 2 months ago
I'm experiencing the exact same issue, would be happy to hear if there's a way around this.
It seems that this is not only related to Kotlin. I have another project where the update to Kotlin 2 did not break the dependency check tasks.
Recently, we updated our Kotlin version from 1.9.10 to 2.0, after this change dependencyCheck stopped working. Both the 9.0.10 and 10.0.3 versions plugin gives the error as follows,
`> Task :dependencyCheckAggregate Verifying dependencies for project ****
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':dependencyCheckAggregate'.
Try:
Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':dependencyCheckAggregate'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at . . . .`
When I downgrade the Kotlin version to 1.9.10 there is no problem. Thanks in advance,