Init Script Api
Deprecated
Kept for compatibility with precompiled script plugins published with Gradle versions prior to 6.0
Replace with
import org.gradle.api.invocation.Gradle
GradleStandard implementation of the API exposed to all types of Gradle scripts, precompiled and otherwise.
Inheritors
Properties
The extra properties extension in this object's extension container.
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.