I have folder "A" and folder "B"
Folder "B" is having gradle code
I want to run gradle clean and gradle build command from folder "A" of folder "B"
How do I do this?
You should use the "start directory" parameter (-p, --project-dir : see Environment options)
I think the other available parameter -b --build-file could work as well, but its main usage is when your build script filename differs from default build.gradle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With