skip to content

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 pageshow

explore

questions

page 2 of 2

How 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 s

Continuous 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.

open as a page

showing 31–31 of 31