HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/snyk-gradle-plugin/README.md
![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg)

***

Snyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.

# Snyk Gradle CLI Plugin

This plugin provides dependency metadata for Gradle projects that use `gradle` and have a `build.gradle` file.


# Support

❓No issues expected but test not updated yet to verify
✅Supported and verified with tests

## Supported OS

| OS  |  Supported |
|---|---|
| Windows  | ✅|
| Linux  | ✅|
| OSX  | ✅|

## Supported Node versions

| Node  |  Supported |
|---|---|
| 6  | ✅|
| 8  | ✅|
| 10  | ✅|
| 12  | ❓|

## Supported Java & Gradle versions

| Java / Gradle  | 2.*  | 3.*  |  4.* | 5.*  |
|---|---|---|---|---|
| 8  |  ✅ |  ✅ |  ✅ | ✅  |
| 9  | ✅  | ✅  |  ✅ | ✅  |
| 10  |  ✅ | ✅  |  ✅ |  ✅ |
| 11  |  ✅ |  ✅ |  ✅ | ✅  |
| 13  |  ❓ |  ❓ |  ❓ | ❓  |


# Supported Snyk command line arguments:

* `--gradle-sub-project=foo` return dependencies for a specific subproject (by default, return only the
  dependencies for the top-level project)

Additional command line arguments:

- `--all-sub-projects` for "multi project" configurations, test all sub-projects.

- `--configuration-matching=<string>` Resolve dependencies using only configuration(s) that match the provided Java regular expression, e.g. '^releaseRuntimeClasspath$'.

- `--configuration-attributes=<string>` Select certain values of configuration attributes to resolve the dependencies. E.g.: 'buildtype:release,usage:java-runtime'

## Under the hood

See `lib/init.gradle` for the Groovy script injected in Gradle builds to gather and resolve the dependencies.