task

abstract val task: TaskProvider<out Task>

The task that produces outputDir. Usually this is not needed as outputDir carries task dependency.