Gradle projects can be among the more difficult to troubleshoot because of their reliance on the build environment being configured in such a fashion. Reproducing the issue can sometimes be difficult, but there are some simple things that we can do and take a look at to see if we can resolve your issue with Testing in the CLI environment:
Required Information for debugging
The support team are going to request the following files, if possible:
build.gradle
settings.gradle
(especially if we did not pick up a version of a package)- The output from the following commands:
DEBUG=* snyk test
orsnyk test -d
gradle dependencies -q
Other articles:
Snyk test - Could not find or load main class org.gradle.wrapper.GradleWrapperMain