First off, removing ‘outputs’ from the configuration will just cause the task to run every time. So this is not a working solution.
Sorry I was not more specific. For the dependency of the task … I mean using the ‘dependsOn’ configuration, not ‘inputs’. I declared the dependency on the task using
I also have set tine inputs to
The inputs defines work correctly, causing a re-exeuction of the task when files change.
Maybe I also have to manualy add the files of the dependsOn task to the ‘inputs’? I figured gradle would do this automatically?