Kotlin Script
Base contract for all Gradle Kotlin DSL scripts.
This is the Kotlin flavored equivalent of org.gradle.api.Script.
It is not implemented directly by the IDE script templates to overcome ambiguous conflicts and Kotlin language limitations.
Since
6.0
Functions
Copies the specified files.
Deletes files and directories.
Deletes the specified files.
Executes an external command.
Creates a ConfigurableFileCollection containing the given files.
Creates a new ConfigurableFileTree using the given base directory.
Executes an external Java process.
Returns the relative path from this script's target base directory to the given path.
Properties
The LoggingManager which can be used to receive logging and to control the standard output/error capture for this script. By default, System.out
is redirected to the Gradle logging system at the QUIET
log level, and System.err
is redirected at the ERROR
log level.
Provides access to resource-specific utility methods, for example factory methods that create various resources.