snyk / snyk-gradle-plugin

Basic Snyk CLI plugin for Gradle support
Other
25 stars 19 forks source link

fix: normalize init script path for all args #169

Closed juanamari94 closed 3 years ago

juanamari94 commented 3 years ago

What does this PR do?

Normalized init script path is sent for bot dependency discovery and call graph building. Disables explicit propagation of the init script argument for dependency discovery.

This pull request was made in tandem with @pwnslinger . See: https://github.com/snyk/snyk-gradle-plugin/pull/170

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

Using different paths for init script and build.gradle files would create an error on the java call graph builder side if the parent directories differed.

What are the relevant tickets?

Screenshots

Additional questions

snyksec commented 3 years ago

:tada: This PR is included in version 3.13.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: