gradle
8.6

# getTemporaryDir

@Internal
abstract fun getTemporaryDir(): File(source)

Returns a directory which this task can use to write temporary files to. Each task instance is provided with a separate temporary directory. There are no guarantees that the contents of this directory will be kept beyond the execution of the task.

#### Return

The directory. Never returns null. The directory will already exist.