Kotlin Build Script
Deprecated
Will be removed in Gradle 9.0
Legacy base class for Gradle Kotlin DSL standalone Project scripts IDE support, aka. build scripts.
See also
Properties
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.
Configures the artifacts for this project.
Configures the build script classpath for this project.
Configures the build script classpath for this project.
Executes the given configuration block against the project extension of the specified type.
Executes the given configuration block against the extension of the specified type.
Creates a container for managing named objects of the specified type.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.Project.container.
Sets the default tasks of this project. These are used when no tasks names are provided when starting the build.
Configures the dependencies for this project.
The ScriptHandler for this script.
Creates a dependency on the API of the current version of the Gradle Kotlin DSL.
Configures the plugin dependencies for this project.
Locates a property on Project.
Configures the repositories for this project.
Kotlin extension function for org.gradle.api.Project.task.
Creates a Task with the given name and type, configures it with the given configuration action, and adds it to this project tasks container.
Returns the project extension of the specified type.
Returns the extension of the specified type.
Returns the extension of the specified extensionType.