KotlinSettingsScript

abstract class KotlinSettingsScript(host: KotlinScriptHost<ERROR CLASS: Symbol not found for Settings>) : SettingsScriptApi(source)

Deprecated

Will be removed in Gradle 10

Legacy base class for Gradle Kotlin DSL standalone Settings scripts IDE support.

See also

Constructors

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

Properties

Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for Settings
Link copied to clipboard
val logger: ERROR CLASS: Symbol not found for Logger

Logger for settings. You can use this in your settings file to write log messages.

Link copied to clipboard
val logging: ERROR CLASS: Symbol not found for ConfigurableFileCollection

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.

Link copied to clipboard
val resources: ERROR CLASS: Symbol not found for ResourceHandler

Provides access to resource-specific utility methods, for example factory methods that create various resources.

Functions

Link copied to clipboard
open override fun apply(action: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for ObjectConfigurationAction>): ERROR CLASS: Ambiguity: applyObjectConfigurationAction, [org/gradle/kotlin/dsl/support/KotlinScriptHost.applyObjectConfigurationAction, org/gradle/kotlin/dsl/support/KotlinScriptHost.applyObjectConfigurationAction]
open fun apply(action: org/gradle/api/Action<in org/gradle/api/plugins/ObjectConfigurationAction>)
open fun apply(closure: Closure<Any>)
open fun apply(options: Map<String, *>)
Link copied to clipboard
open fun buildCache(action: org/gradle/api/Action<in org/gradle/caching/configuration/BuildCacheConfiguration>)
Link copied to clipboard
open fun buildscript(block: ScriptHandlerScope.() -> Unit)

Configures the build script classpath for settings.

Link copied to clipboard
open fun caches(cacheConfigurations: org/gradle/api/Action<in org/gradle/api/cache/CacheConfigurations>)
Link copied to clipboard
fun copy(configuration: ERROR CLASS: Symbol not found for CopySpec.() -> Unit): ERROR CLASS: Symbol not found for WorkResult

Copies the specified files.

Link copied to clipboard
fun copySpec(): ERROR CLASS: Symbol not found for CopySpec
fun copySpec(configuration: ERROR CLASS: Symbol not found for CopySpec.() -> Unit): ERROR CLASS: Symbol not found for CopySpec

Creates a {@link CopySpec} which can later be used to copy files or create an archive.

Link copied to clipboard
open fun defaults(action: org/gradle/api/Action<in org/gradle/api/initialization/SharedModelDefaults>)
Link copied to clipboard
fun delete(configuration: ERROR CLASS: Symbol not found for DeleteSpec.() -> Unit): ERROR CLASS: Symbol not found for WorkResult

Deletes the specified files.

fun delete(vararg paths: Any): Boolean

Deletes files and directories.

Link copied to clipboard
open fun dependencyResolutionManagement(dependencyResolutionConfiguration: org/gradle/api/Action<in org/gradle/api/initialization/resolve/DependencyResolutionManagement>)
Link copied to clipboard
Link copied to clipboard
fun file(path: Any): File
fun file(path: Any, validation: ERROR CLASS: Symbol not found for PathValidation): File

Resolves a file path relative to this script's target base directory.

Link copied to clipboard
fun files(vararg paths: Any): ERROR CLASS: Symbol not found for ConfigurableFileCollection
fun files(paths: Any, configuration: ERROR CLASS: Symbol not found for ConfigurableFileCollection.() -> Unit): ERROR CLASS: Symbol not found for ConfigurableFileCollection

Creates a ConfigurableFileCollection containing the given files.

Link copied to clipboard
fun fileTree(baseDir: Any): ERROR CLASS: Symbol not found for ConfigurableFileTree
fun fileTree(baseDir: Any, configuration: ERROR CLASS: Symbol not found for ConfigurableFileTree.() -> Unit): ERROR CLASS: Symbol not found for ConfigurableFileTree

Creates a new ConfigurableFileTree using the given base directory.

Link copied to clipboard
open fun findProject(projectDir: File): org/gradle/api/initialization/ProjectDescriptor??
open fun findProject(path: String): org/gradle/api/initialization/ProjectDescriptor??
Link copied to clipboard
open fun getBuildCache(): org/gradle/caching/configuration/BuildCacheConfiguration
Link copied to clipboard
open override fun getBuildscript(): ERROR CLASS: Symbol not found for ScriptHandler

The ScriptHandler for this script.

Link copied to clipboard
open fun getCaches(): org/gradle/api/cache/CacheConfigurations
Link copied to clipboard
open fun getDefaults(): org/gradle/api/initialization/SharedModelDefaults
Link copied to clipboard
open fun getDependencyResolutionManagement(): org/gradle/api/initialization/resolve/DependencyResolutionManagement
Link copied to clipboard
open fun getExtensions(): org/gradle/api/plugins/ExtensionContainer
Link copied to clipboard
open fun getGradle(): org/gradle/api/invocation/Gradle
Link copied to clipboard
open fun getLayout(): org/gradle/api/file/BuildLayout
Link copied to clipboard
open fun getPluginManagement(): org/gradle/plugin/management/PluginManagementSpec
Link copied to clipboard
open fun getPluginManager(): org/gradle/api/plugins/PluginManager
Link copied to clipboard
open fun getPlugins(): org/gradle/api/plugins/PluginContainer
Link copied to clipboard
open fun getProviders(): org/gradle/api/provider/ProviderFactory
Link copied to clipboard
open fun getRootDir(): File
Link copied to clipboard
open fun getRootProject(): org/gradle/api/initialization/ProjectDescriptor
Link copied to clipboard
open fun getSettings(): org/gradle/api/initialization/Settings
Link copied to clipboard
open fun getSettingsDir(): File
Link copied to clipboard
open fun getSourceControl(): org/gradle/vcs/SourceControl
Link copied to clipboard
open fun getStartParameter(): org/gradle/StartParameter
Link copied to clipboard
open fun getToolchainManagement(): org/gradle/api/toolchain/management/ToolchainManagement
Link copied to clipboard
open fun include(projectPaths: Iterable<String>)
Link copied to clipboard
open fun includeBuild(rootProject: Any)
open fun includeBuild(rootProject: Any, configuration: org/gradle/api/Action<org/gradle/api/initialization/ConfigurableIncludedBuild>)
Link copied to clipboard
open fun includeFlat(projectNames: Iterable<String>)
open fun includeFlat(vararg projectNames: String)
Link copied to clipboard
fun mkdir(path: Any): File

Creates a directory and returns a file pointing to it.

Link copied to clipboard
open fun pluginManagement(block: ERROR CLASS: Symbol not found for PluginManagementSpec.() -> Unit)

Configures the plugin management for the entire build.

open fun pluginManagement(pluginManagementSpec: org/gradle/api/Action<in org/gradle/plugin/management/PluginManagementSpec>)
Link copied to clipboard

Configures the plugin dependencies for the project's settings.

Link copied to clipboard
open fun project(projectDir: File): org/gradle/api/initialization/ProjectDescriptor
open fun project(path: String): org/gradle/api/initialization/ProjectDescriptor
Link copied to clipboard
fun relativePath(path: Any): String

Returns the relative path from this script's target base directory to the given path.

Link copied to clipboard
open fun sourceControl(configuration: org/gradle/api/Action<in org/gradle/vcs/SourceControl>)
Link copied to clipboard
fun tarTree(tarPath: Any): ERROR CLASS: Symbol not found for FileTree

Creates a new FileTree which contains the contents of the given TAR file.

Link copied to clipboard
open fun toolchainManagement(toolchainManagementConfiguration: org/gradle/api/Action<in org/gradle/api/toolchain/management/ToolchainManagement>)
Link copied to clipboard
fun uri(path: Any): URI

Resolves a file path to a URI, relative to this script's target base directory.

Link copied to clipboard
fun zipTree(zipPath: Any): ERROR CLASS: Symbol not found for FileTree

Creates a new FileTree which contains the contents of the given ZIP file.