The --detect.gradle.build.command= should accept multiple values.
Actual behavior
The --detect.gradle.build.command= only passes the first one provided through, all others after that are ignored.
Steps to Reproduce
Example below:
--detect.gradle.build.command=\"-PartifactoryUser=${env.ARTIFACTORY_USER} -PartifactoryPassword=${env.ARTIFACTORY_PASS}\"This has escaped quotes because this sits inside double quotes already.
The result is that it ends up only passing through the first value when it runs gradle as seen below:
/gradlew -PartifactoryUser=xxxxx dependencies ....
Issue template
Expected behavior
Actual behavior
Steps to Reproduce
--detect.gradle.build.command=\"-PartifactoryUser=${env.ARTIFACTORY_USER} -PartifactoryPassword=${env.ARTIFACTORY_PASS}\"
This has escaped quotes because this sits inside double quotes already.The result is that it ends up only passing through the first value when it runs gradle as seen below:
/gradlew -PartifactoryUser=xxxxx dependencies ....
This is using the version that it pulls down every time by CURLing - https://detect.synopsys.com/detect.sh
Version
Project Version:
2.2.0 Language Version:
Gradle OS:
CentOS