Use relative path instead of absolute path for gradle command

What does this MR do?

Use "gradle" default gradle command

No other builder specifies an absolute path to its command.

For example, the maven builder uses "mvn" https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/blob/f4f663bbbf9119ab377ab876f9a268e99a50b939/builder/maven/maven.go#L66 and the pip builder uses "pip3" https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/blob/f4f663bbbf9119ab377ab876f9a268e99a50b939/builder/pip/pip.go#L23

Gradle should be consistent with the other builders.

This minor change allows using the builder when "gradle" is not at /opt/asdf/shims/gradle or if a different gradle is desired.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Oscar Tovar

Merge request reports

Loading
Loading