Movatterモバイル変換


[0]ホーム

URL:


Delete

API Documentation:Delete

Deletes files or directories. Example:

task makePretty(type: Delete) {  delete'uglyFolder','uglyFile'}

Properties

PropertyDescription
delete

The set of files which will be deleted by this task.

targetFiles

The resolved set of files which will be deleted by this task.

Property details

Set<Object>delete

The set of files which will be deleted by this task.

FileCollectiontargetFiles (read-only)

The resolved set of files which will be deleted by this task.

Script blocks

No script blocks

Methods

MethodDescription
delete(targets)

Adds some files to be deleted by this task. The given targets are evaluated as perProject.files().

Method details

Deletedelete(Object... targets)

Adds some files to be deleted by this task. The given targets are evaluated as perProject.files().


[8]ページ先頭

©2009-2025 Movatter.jp