snyk/snyk-gradle-plugin

Gradle 8 compatibility

Closed this issue ยท 9 comments

1: Task failed with an exception.
-----------
* Where:
Initialization script '/tmp/tmp-2284-TKGuWiIRYoDC--init.gradle' line: 296
* What went wrong:
Execution failed for task ':snykResolvedDepsJson'.
> Could not find method debugLog() for arguments [snykResolvedDepsJson task is executing via doLast] on task
':snykResolvedDepsJson' of type org.gradle.api.DefaultTask.

The integration runs fine with 7.6, but fails with the above using 8-rc-2.

P.S. Using Gradle's logger would be more idiomatic.

As of 8.1, I can no longer revert to 7.x in the github action as a workaround. Please prioritize this incompatibility.

We just hit this too. Any word from Snyk?

Android studio gradle plugin >8.0.0 now requires gradle 8. Could you please prioritise this issue?

Hi, we will be looking into this issue soon and will post here when we have updates

Please do it ASAP. Your service is useless to us without full support Gradle 8.X

I got the same error, Execution failed for task ':snykResolvedDepsJson'., and was able to work around it by disabling the configuration cache when running Snyk. snyk test -- --no-configuration-cache.

thanks @isaac57, I can confirm that works beautifully.

Please support gradle 8, it is out for a long time now. We are paying a lot of money for the snyk license...

Wonderful. I will make sure to not recommend your services in the future. Thanks for the transparency.