public interface CanConfigureTaskInputs
| Modifier and Type | Method and Description |
|---|---|
default void |
configureTaskInputs(org.gradle.api.tasks.TaskInputs taskInputs)
Primarily intended for indirect task creation and not usage in the DSL, this method will configure the inputs
of a given task to provide better up-to-date information.
|
default void configureTaskInputs(org.gradle.api.tasks.TaskInputs taskInputs)
This can be overridden by implementations as the default operation is a NOOP.
Attributes i.e., HasAttributeProvider.getAttributeProvider(), should be used here, as attributes
are dealt with correctly in another place.
The output of AsciidoctorOutputFormatter.getClasspath() should not be used either as
AsciidoctorTask can correctly deal with the classpath.
The main intent here is for additional configuration directories etc. to be passed as inputs.
taskInputs - The TaskInputs of a specific task instance.