gradle
8.6

# resources

abstract fun resources(@Nullable @DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): SourceSet(source)

Configures the non-Java resources for this set.

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

#### Return

this

#### Parameters

configureClosure

The closure to use to configure the resources.

abstract fun resources(configureAction: Action<out Any>): SourceSet(source)

Configures the non-Java resources for this set.

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

#### Return

this

#### Parameters

configureAction

The action to use to configure the resources.