JavaExec task seems to ignore inputs/outputs settings

The JavaExec task seems to ignore the inputs/outputs settings. Is this by purpose?

//this way it always recompiles task gwtCompile(type: JavaExec){

inputs.dir sourceDir

outputs.dir “${webAppBaseDir}”

… }}}

//this way up-to-date check works fine task gwtCompile{

inputs.dir sourceDir

outputs.dir “${webAppBaseDir}”

doFirst{

javaexec{

… }}}

Thanks, david

This is GRADLE-1483. There’s a workaround listed in the comments.

This is fixed for the upcoming m9 release.