Hi all!
can one gradle command be written in two or more lines?
thanks
Hi all!
can one gradle command be written in two or more lines?
thanks
Since the gradle
, gradle.exe
or ./gradlew
or ./gradlew.bat
commands are all just regular command-line programs, you can use whatever your command interpreter uses to split lines if you need to put the commands on two or more lines.
For example, in a bash shell on a *nix system, you’d be able to write:
$> ./gradlew \
> compileJava \
> test
And it would be executed correctly because it is the shell’s job to turn those three lines into one.
Hope that helps.