Snyk Documentation


What type of Java projects does Snyk support?

Snyk for Java supports testing Java projects that have their dependencies managed by Maven or Gradle. Support is available via the Snyk UI and CLI.


Testing Java projects

We scan Java projects by examining your pom.xmlbuild.gradle or build.gradle.kts(CLI only) file to compare the specific versions of every direct and deep dependency in your project against our Maven vulnerability database. We ignore test dependencies by default, but they can be included from the CLI.