# KotlinBuildScript

abstract class KotlinBuildScript(host: KotlinScriptHost<ERROR CLASS: Symbol not found for Project>) : ProjectDelegate(source)

### Deprecated

Will be removed in Gradle 10

Legacy base class for Gradle Kotlin DSL standalone Project scripts IDE support, aka. build scripts.

#### See also

KotlinProjectScriptTemplate

## Constructors

KotlinBuildScript
Link copied to clipboard
constructor(host: KotlinScriptHost<ERROR CLASS: Symbol not found for Project>)

## Properties

delegate
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for Project

## Functions

absoluteProjectPath
Link copied to clipboard
open fun absoluteProjectPath(path: String): String
afterEvaluate
Link copied to clipboard
open fun afterEvaluate(action: org/gradle/api/Action<in org/gradle/api/Project>)
open fun afterEvaluate(closure: Closure<*>)
allprojects
Link copied to clipboard
open fun allprojects(action: org/gradle/api/Action<in org/gradle/api/Project>)
open fun allprojects(configureClosure: Closure<*>)
ant
Link copied to clipboard
open fun ant(configureAction: org/gradle/api/Action<in org/gradle/api/AntBuilder>): org/gradle/api/AntBuilder
open fun ant(configureClosure: Closure<*>): org/gradle/api/AntBuilder
apply
Link copied to clipboard
open fun apply(action: org/gradle/api/Action<in org/gradle/api/plugins/ObjectConfigurationAction>)
open fun apply(closure: Closure<*>)
open fun apply(options: Map<String, *>)
artifacts
Link copied to clipboard
open fun artifacts(configureAction: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/ArtifactHandler>)
open fun artifacts(configureClosure: Closure<*>)
beforeEvaluate
Link copied to clipboard
open fun beforeEvaluate(action: org/gradle/api/Action<in org/gradle/api/Project>)
open fun beforeEvaluate(closure: Closure<*>)
buildscript
Link copied to clipboard
open fun buildscript(block: ScriptHandlerScope.() -> Unit)

Configures the build script classpath for this project.

open fun buildscript(configureClosure: Closure<*>)
compareTo
Link copied to clipboard
open operator fun compareTo(other: org/gradle/api/Project): Int
components
Link copied to clipboard
open fun components(configuration: org/gradle/api/Action<in org/gradle/api/component/SoftwareComponentContainer>)
configurations
Link copied to clipboard
open fun configurations(configureClosure: Closure<*>)
configure
Link copied to clipboard
open fun configure(object: Any, configureClosure: Closure<*>): Any
open fun configure(objects: Iterable<*>, configureClosure: Closure<*>): Iterable<*>
open fun <T : Any> configure(objects: Iterable<T>, configureAction: org/gradle/api/Action<in T>): Iterable<T>
container
Link copied to clipboard
open fun <T : Any> container(type: Class<T>): org/gradle/api/NamedDomainObjectContainer<T>
open fun <T : Any> container(type: Class<T>, factory: org/gradle/api/NamedDomainObjectFactory<T>): org/gradle/api/NamedDomainObjectContainer<T>
open fun <T : Any> container(type: Class<T>, factoryClosure: Closure<*>): org/gradle/api/NamedDomainObjectContainer<T>
copy
Link copied to clipboard
open fun copy(action: org/gradle/api/Action<in org/gradle/api/file/CopySpec>): org/gradle/api/tasks/WorkResult
open fun copy(closure: Closure<*>): org/gradle/api/tasks/WorkResult
copySpec
Link copied to clipboard
open fun copySpec(): org/gradle/api/file/CopySpec
open fun copySpec(action: org/gradle/api/Action<in org/gradle/api/file/CopySpec>): org/gradle/api/file/CopySpec
open fun copySpec(closure: Closure<*>): org/gradle/api/file/CopySpec
createAntBuilder
Link copied to clipboard
open fun createAntBuilder(): org/gradle/api/AntBuilder
defaultTasks
Link copied to clipboard
open fun defaultTasks(vararg defaultTasks: String)
delete
Link copied to clipboard
open fun delete(action: org/gradle/api/Action<in org/gradle/api/file/DeleteSpec>): org/gradle/api/tasks/WorkResult
open fun delete(vararg paths: Any?): Boolean
dependencies
Link copied to clipboard
open fun dependencies(configureClosure: Closure<*>)
dependencyLocking
Link copied to clipboard
open fun dependencyLocking(configuration: org/gradle/api/Action<in org/gradle/api/artifacts/dsl/DependencyLockingHandler>)
depthCompare
Link copied to clipboard
open fun depthCompare(otherProject: org/gradle/api/Project): Int
evaluationDependsOn
Link copied to clipboard
open fun evaluationDependsOn(path: String): org/gradle/api/Project
evaluationDependsOnChildren
Link copied to clipboard
open fun evaluationDependsOnChildren()
file
Link copied to clipboard
open fun file(path: Any): File
open fun file(path: Any, validation: org/gradle/api/PathValidation): File
files
Link copied to clipboard
open fun files(vararg paths: Any?): org/gradle/api/file/ConfigurableFileCollection
open fun files(paths: Any, configureAction: org/gradle/api/Action<in org/gradle/api/file/ConfigurableFileCollection>): org/gradle/api/file/ConfigurableFileCollection
open fun files(paths: Any, configureClosure: Closure<*>): org/gradle/api/file/ConfigurableFileCollection
fileTree
Link copied to clipboard
open fun fileTree(baseDir: Any): org/gradle/api/file/ConfigurableFileTree
open fun fileTree(args: Map<String, *>): org/gradle/api/file/ConfigurableFileTree
open fun fileTree(baseDir: Any, configureAction: org/gradle/api/Action<in org/gradle/api/file/ConfigurableFileTree>): org/gradle/api/file/ConfigurableFileTree
open fun fileTree(baseDir: Any, configureClosure: Closure<*>): org/gradle/api/file/ConfigurableFileTree
findProject
Link copied to clipboard
open fun findProject(path: String): org/gradle/api/Project??
findProperty
Link copied to clipboard
open fun findProperty(propertyName: String): Any?
getAllprojects
Link copied to clipboard
open fun getAllprojects(): MutableSet<org/gradle/api/Project>
getAllTasks
Link copied to clipboard
open fun getAllTasks(recursive: Boolean): MutableMap<org/gradle/api/Project, MutableSet<org/gradle/api/Task>>
getAnt
Link copied to clipboard
open fun getAnt(): org/gradle/api/AntBuilder
getArtifacts
Link copied to clipboard
open fun getArtifacts(): org/gradle/api/artifacts/dsl/ArtifactHandler
getBuildDir
Link copied to clipboard
open fun getBuildDir(): File
getBuildFile
Link copied to clipboard
open fun getBuildFile(): File
getBuildscript
Link copied to clipboard
open override fun getBuildscript(): ERROR CLASS: Symbol not found for ScriptHandler

The ScriptHandler for this script.

getBuildTreePath
Link copied to clipboard
open fun getBuildTreePath(): String
getChildProjects
Link copied to clipboard
open fun getChildProjects(): MutableMap<String, org/gradle/api/Project>
getComponents
Link copied to clipboard
open fun getComponents(): org/gradle/api/component/SoftwareComponentContainer
getConfigurations
Link copied to clipboard
open fun getConfigurations(): org/gradle/api/artifacts/ConfigurationContainer
getDefaultTasks
Link copied to clipboard
open fun getDefaultTasks(): MutableList<String>
getDependencies
Link copied to clipboard
open fun getDependencies(): org/gradle/api/artifacts/dsl/DependencyHandler
getDependencyFactory
Link copied to clipboard
open fun getDependencyFactory(): org/gradle/api/artifacts/dsl/DependencyFactory
getDependencyLocking
Link copied to clipboard
open fun getDependencyLocking(): org/gradle/api/artifacts/dsl/DependencyLockingHandler
getDepth
Link copied to clipboard
open fun getDepth(): Int
getDescription
Link copied to clipboard
open fun getDescription(): String?
getDisplayName
Link copied to clipboard
open fun getDisplayName(): String
getExtensions
Link copied to clipboard
open fun getExtensions(): org/gradle/api/plugins/ExtensionContainer
getGradle
Link copied to clipboard
open fun getGradle(): org/gradle/api/invocation/Gradle
getGroup
Link copied to clipboard
open fun getGroup(): Any
getIsolated
Link copied to clipboard
open fun getIsolated(): org/gradle/api/project/IsolatedProject
getLayout
Link copied to clipboard
open fun getLayout(): org/gradle/api/file/ProjectLayout
getLogger
Link copied to clipboard
open fun getLogger(): org/gradle/api/logging/Logger
getLogging
Link copied to clipboard
open fun getLogging(): org/gradle/api/logging/LoggingManager
getName
Link copied to clipboard
open fun getName(): String
getNormalization
Link copied to clipboard
open fun getNormalization(): org/gradle/normalization/InputNormalizationHandler
getObjects
Link copied to clipboard
open fun getObjects(): org/gradle/api/model/ObjectFactory
getParent
Link copied to clipboard
open fun getParent(): org/gradle/api/Project??
getPath
Link copied to clipboard
open fun getPath(): String
getPluginManager
Link copied to clipboard
open fun getPluginManager(): org/gradle/api/plugins/PluginManager
getPlugins
Link copied to clipboard
open fun getPlugins(): org/gradle/api/plugins/PluginContainer
getProject
Link copied to clipboard
open fun getProject(): org/gradle/api/Project
getProjectDir
Link copied to clipboard
open fun getProjectDir(): File
getProperties
Link copied to clipboard
open fun getProperties(): MutableMap<String, *>
getProviders
Link copied to clipboard
open fun getProviders(): org/gradle/api/provider/ProviderFactory
getRepositories
Link copied to clipboard
open fun getRepositories(): org/gradle/api/artifacts/dsl/RepositoryHandler
getResources
Link copied to clipboard
open fun getResources(): org/gradle/api/resources/ResourceHandler
getRootDir
Link copied to clipboard
open fun getRootDir(): File
getRootProject
Link copied to clipboard
open fun getRootProject(): org/gradle/api/Project
getState
Link copied to clipboard
open fun getState(): org/gradle/api/ProjectState
getStatus
Link copied to clipboard
open fun getStatus(): Any
getSubprojects
Link copied to clipboard
open fun getSubprojects(): MutableSet<org/gradle/api/Project>
getTasks
Link copied to clipboard
open fun getTasks(): org/gradle/api/tasks/TaskContainer
getTasksByName
Link copied to clipboard
open fun getTasksByName(name: String, recursive: Boolean): MutableSet<org/gradle/api/Task>
getVersion
Link copied to clipboard
open fun getVersion(): Any
hasProperty
Link copied to clipboard
open fun hasProperty(propertyName: String): Boolean
mkdir
Link copied to clipboard
open fun mkdir(path: Any): File
normalization
Link copied to clipboard
open fun normalization(configuration: org/gradle/api/Action<in org/gradle/normalization/InputNormalizationHandler>)
plugins
Link copied to clipboard
fun plugins(block: PluginDependenciesSpecScope.() -> Unit)

Configures the plugin dependencies for this project.

project
Link copied to clipboard
open fun project(path: String): org/gradle/api/Project
open fun project(path: String, configureAction: org/gradle/api/Action<in org/gradle/api/Project>): org/gradle/api/Project
open fun project(path: String, configureClosure: Closure<*>): org/gradle/api/Project
property
Link copied to clipboard
open fun property(propertyName: String): Any?
provider
Link copied to clipboard
open fun <T : Any> provider(value: Callable<out T?>): org/gradle/api/provider/Provider<T>
relativePath
Link copied to clipboard
open fun relativePath(path: Any): String
relativeProjectPath
Link copied to clipboard
open fun relativeProjectPath(path: String): String
repositories
Link copied to clipboard
open fun repositories(configureClosure: Closure<*>)
setBuildDir
Link copied to clipboard
open fun setBuildDir(path: File)
open fun setBuildDir(path: Any)
setDefaultTasks
Link copied to clipboard
open fun setDefaultTasks(defaultTasks: MutableList<String>)
setDescription
Link copied to clipboard
open fun setDescription(description: String?)
setGroup
Link copied to clipboard
open fun setGroup(group: Any)
setProperty
Link copied to clipboard
open fun setProperty(name: String, value: Any?)
setStatus
Link copied to clipboard
open fun setStatus(status: Any)
setVersion
Link copied to clipboard
open fun setVersion(version: Any)
subprojects
Link copied to clipboard
open fun subprojects(action: org/gradle/api/Action<in org/gradle/api/Project>)
open fun subprojects(configureClosure: Closure<*>)
sync
Link copied to clipboard
open fun sync(action: org/gradle/api/Action<in org/gradle/api/file/SyncSpec>): org/gradle/api/tasks/WorkResult
tarTree
Link copied to clipboard
open fun tarTree(tarPath: Any): org/gradle/api/file/FileTree
task
Link copied to clipboard
open fun task(name: String): org/gradle/api/Task
open fun task(name: String, configureAction: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Task
open fun task(name: String, configureClosure: Closure<*>): org/gradle/api/Task
open fun task(args: Map<String, *>, name: String): org/gradle/api/Task
open fun task(args: Map<String, *>, name: String, configureClosure: Closure<*>): org/gradle/api/Task
uri
Link copied to clipboard
open fun uri(path: Any): URI
zipTree
Link copied to clipboard
open fun zipTree(zipPath: Any): org/gradle/api/file/FileTree