Kotlin Init Script
Deprecated
Will be removed in Gradle 10
Legacy base class for Gradle Kotlin DSL standalone Gradle scripts IDE support, aka. init scripts.
See also
Properties
The extra properties extension in this object's extension container.
The ScriptHandler for this script.
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.
Functions
Applies the plugin of the given type T. Does nothing if the plugin has already been applied.
Kotlin extension function for org.gradle.api.plugins.PluginAware.apply.
Applies the given plugin or script.
Copies the specified files.
Deletes the specified files.
Deletes files and directories.
Creates a ConfigurableFileCollection containing the given files.
Creates a new ConfigurableFileTree using the given base directory.
Configures the classpath of the init script.
Returns the relative path from this script's target base directory to the given path.
Returns the extension of the specified type.
Returns the extension of the specified extensionType.