api / org.gradle.api.tasks / SourceSet / resources

resources

abstract fun resources(configureClosure: Closure<Any>): SourceSet

Configures the non-Java resources for this set.

The given closure is used to configure the SourceDirectorySet which contains the resources.

Parameters

configureClosure - The closure to use to configure the resources.

Return
this

abstract fun resources(configureAction: Action<in SourceDirectorySet>): SourceSet

Configures the non-Java resources for this set.

The given action is used to configure the SourceDirectorySet which contains the resources.

Parameters

configureAction - The action to use to configure the resources.

Return
this