For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setResourcesDir

abstract fun setResourcesDir(resourcesDir: File)(source)

Sets the output directory for resources

See example at SourceSetOutput

Since

4.0

Parameters

resourcesDir

the resources dir. Should not be null.


abstract fun setResourcesDir(resourcesDir: Any)(source)

Sets the output directory for resources

See example at SourceSetOutput

Since

1.0

Parameters

resourcesDir

the resources dir. Should not be null.