Hi,
Command line arguments are currently only inofficially supported in
gradle. They are only test wise for some gradle internal tasks available
and not document anywhere. It might take another release or two until
they are available.
However you may use a property on the command line to set the port until
then.
clojureRepl {
if (project.hasProperty("clojureReplPort")) {
port = project.clojureReplPort
}
}
And invoke gradle via 'gradle -PclojureReplPort="4711"'. Or you put
it in the gradle.properties file.
Maybe I could expose these knobs in general via properties.
Hope that helps.
Meikel