Join Slack
Powered by
[cmd line parameters] Hello! Is there a way to spe...
# gradle
d
Dariusz Kuc
05/26/2020, 6:49 PM
[cmd line parameters] Hello! Is there a way to specify list of values for a parameter using command line? e.g. something like
Copy code
gradle myTask -PcustomParam=abc -PcustomParam=xyz
that would result in
customParam=[abc, xyz]
?
Dariusz Kuc
05/26/2020, 6:55 PM
or even better to specify tuples for each param that would result in a map
Dariusz Kuc
05/26/2020, 6:56 PM
guess can only do that through explicit configuration in
build.gradle
8
Views
Open in Slack
Previous
Next