setDirMode

abstract fun setDirMode(@Nullable mode: Integer): CopyProcessingSpec(source)

Deprecated

Sets the Unix permissions to use for the target directories. null means that existing permissions are preserved. It is dependent on the copy action implementation whether these permissions will actually be applied.

Return

this

Deprecated

Use dirPermissions instead. This method is scheduled for removal in Gradle 9.0.

Parameters

mode

The directory permissions.