java - Getting gradle to auto build after making code changes -


is there way add 'build.gradle' file auto build upon changes made code within project? or there tricks gradle or java auto compile/build project?

use gradle --continuous mytask.

that's feature of brand new 2.5 version.

when run --continuous or -t command line options, gradle not exit @ end of build. instead, gradle wait files processed build change. when changes detected, gradle re-run previous build same task selection.

see continuous build user guide.


Comments