How can I define a task without outputs, but only inputs? Use case: a test task which only depends on the input source, runs the tests and checks for failures. There is no output.
In fact I would assume, that a task without declared outputs is up-to-date only depending on the inputs. Gradle has a different opinion at the moment.
EDIT: Use case is a small project without need for a sophisticated build.