# dir

abstract fun dir(options: Map<String, Any>, dir: Any)(source)

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

See example at SourceSetOutput

#### Since

1.0

#### Parameters

options

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

dir

- will be resolved as file

abstract fun dir(dir: Any)(source)

Registers an extra output dir. Useful for generated resources.

See example at SourceSetOutput

#### Since

1.0

#### Parameters

dir

- will be resolved as file