From e986f79720ae7d18f2e57df6fb4b6dcbf50bc232 Mon Sep 17 00:00:00 2001 From: Michael Gokhman Date: Sun, 7 Oct 2018 13:00:57 +0300 Subject: [PATCH] feat: '--gradle-sub-project' option to handle multip-project gradle note this also appends the sub-project name to the root package name --- help/help.txt | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/help/help.txt b/help/help.txt index 4c717c350e..656d86af4e 100644 --- a/help/help.txt +++ b/help/help.txt @@ -46,6 +46,9 @@ Options: --dry-run .......... Don't apply updates or patches during protect. --severity-threshold= Only report vulnerabilities of provided level or higher. + --gradle-sub-project= + For Gradle "multi project" configurations, + test a specific sub-project. -q, --quiet ........ Silence all output. -h, --help ......... This help information. -v, --version ...... The CLI version. diff --git a/package.json b/package.json index ecbea02d4c..7c1fa0c5bd 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "snyk-config": "2.2.0", "snyk-docker-plugin": "1.11.0", "snyk-go-plugin": "1.5.2", - "snyk-gradle-plugin": "2.0.1", + "snyk-gradle-plugin": "2.1.0", "snyk-module": "1.8.2", "snyk-mvn-plugin": "2.0.0", "snyk-nodejs-lockfile-parser": "1.5.1",