api / org.gradle.api.tasks / SourceSetOutput / dir

dir

abstract fun dir(options: MutableMap<String, Any>, dir: Any): Unit

Registers an extra output dir and the builtBy information. Useful for generated resources.

See example at SourceSetOutput

Parameters

options - - use 'builtBy' key to configure the 'builtBy' task of the dir

dir - - will be resolved as org.gradle.api.Project#file(Object)

abstract fun dir(dir: Any): Unit

Registers an extra output dir. Useful for generated resources.

See example at SourceSetOutput

Parameters

dir - - will be resolved as org.gradle.api.Project#file(Object)