Command-Line Invocation
Driving Gradle from the shell: selecting and excluding tasks, passing properties, controlling execution, and turning up diagnostics. Interviewers ask because CLI fluency is the quickest signal of hands-on experience.
on this pageshowhide
explore
- Task Selectors and Matching5 questions
- Project and System Properties5 questions
- Execution Control Flags6 questions
- Logging and Diagnostic Flags5 questions
- Diagnostic Report Tasks5 questions
- Continuous Build and File Watching5 questions
questions
page 2 of 2How does Gradle continuous build compare with external file watchers or CI re-triggering for a team's fast-feedback loop, and when would you choose each?
level: seniorimportance: nice to knowfreq 18%
basics
~20 sContinuous build is built into Gradle and reuses the warm daemon, VFS, and build cache for cheap re-runs locally. External watchers (entr, IDE, nodemon-style) or CI re-triggers are more flexible but pay full startup each time. Use -t for the local inner loop; use CI for shared verification.
showing 31–31 of 31