Check the CLI returns the same results for the above projects when using this branch of snyk-gradle-plugin. To do this:
Pull this branch of snyk-gradle-plugin
Clone snyk/cli
On the master branch, in the CLI package.json change "snyk-gradle-plugin": "3.17.0" to "snyk-gradle-plugin": "../snyk-gradle-plugin"
Run: npm i && npm run build
Use CLI locally by adding an alias snyk-local='SNYK_API="https://app.dev.snyk.io/api/v1" node /Users/XXXX/cli/dist/cli' -> pointing to your local CLI repo
What does this PR do?
In preparation for the Gradle plugin improvements this:
npm run lint
)How should this be manually tested?
"snyk-gradle-plugin": "3.17.0"
to"snyk-gradle-plugin": "../snyk-gradle-plugin"
npm i && npm run build
snyk-local test
with: vuln project 1, vuln project 2, non-vuln Android project, non-vuln projectWhat are the relevant tickets?
TARDIS-830