Kotlin Init Script
Deprecated
Will be removed in Gradle 9.0
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.
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.
Creates a ConfigurableFileCollection containing the given files.
Configures the classpath of the init script.
Executes an external Java process.
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.