JavaExec task seems to ignore inputs/outputs settings


(david koch) #1

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


(Luke Daley) #2

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


(Luke Daley) #3

This is fixed for the upcoming m9 release.