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
Gradle
Standard 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.
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.