operator fun <T : Any> ERROR CLASS: Symbol not found for Action<in T>
.invoke(target: T): ERROR CLASS: Unresolved name: execute
(source) Enables function invocation syntax on Action references.
Configures the published artifacts for this project.
Since
5.1
Enables function invocation syntax on Callable references.
inline operator fun ERROR CLASS: Symbol not found for ConfigurationContainer
.invoke(configuration: ERROR CLASS: Symbol not found for Action<org/gradle/kotlin/dsl/ConfigurationContainerScope>): ERROR CLASS: Symbol not found for ConfigurationContainer
(source) Allows the container to be configured via an augmented DSL.
Return
The container.
Since
8.4
The expression to configure this container with
operator fun <D : ERROR CLASS: Symbol not found for ModuleDependency
> ERROR CLASS: Symbol not found for DependencyModifier
.invoke(dependency: D): D(source) operator fun ERROR CLASS: Symbol not found for DependencyModifier
.invoke(dependencyNotation: CharSequence): ERROR CLASS: Symbol not found for ExternalModuleDependency
(source) operator fun ERROR CLASS: Symbol not found for DependencyModifier
.invoke(dependency: ERROR CLASS: Symbol not found for ProviderConvertible<out ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>): ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>
(source) operator fun ERROR CLASS: Symbol not found for DependencyModifier
.invoke(dependency: ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for ModuleDependency>): ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for ModuleDependency>
(source) Modifies a dependency to select the variant of the given module.
Since
8.0
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyNotation: CharSequence): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyNotation: CharSequence, configuration: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for ExternalModuleDependency>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
an action to configure the dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(files: ERROR CLASS: Symbol not found for FileCollection): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
files to add as a dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(files: ERROR CLASS: Symbol not found for FileCollection, configuration: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for FileCollectionDependency>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
files to add as a dependency
an action to configure the dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(externalModule: ERROR CLASS: Symbol not found for ProviderConvertible<out ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
external module to add as a dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(externalModule: ERROR CLASS: Symbol not found for ProviderConvertible<out ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>, configuration: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for ExternalModuleDependency>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
external module to add as a dependency
an action to configure the dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependency: ERROR CLASS: Symbol not found for Dependency): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependency: ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for Dependency>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
operator fun <D : ERROR CLASS: Symbol not found for Dependency
> ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependency: D, configuration: ERROR CLASS: Symbol not found for Action<in D>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) operator fun <D : ERROR CLASS: Symbol not found for Dependency
> ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependency: ERROR CLASS: Symbol not found for Provider<out D>, configuration: ERROR CLASS: Symbol not found for Action<in D>): ERROR CLASS: Ambiguity: add, [org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add, org/gradle/kotlin/dsl/add]
(source) Add a dependency.
Since
8.6
an action to configure the dependency
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyConstraint: ERROR CLASS: Symbol not found for DependencyConstraint): ERROR CLASS: Unresolved name: addConstraint
(source) @JvmName(name = "invokeConstraint") operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyConstraint: ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for DependencyConstraint>): ERROR CLASS: Unresolved name: addConstraint
(source)Add a dependency constraint.
Since
8.7
dependency constraint to add
operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyConstraint: ERROR CLASS: Symbol not found for DependencyConstraint, configuration: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for DependencyConstraint>): ERROR CLASS: Unresolved name: addConstraint
(source) @JvmName(name = "invokeConstraint") operator fun ERROR CLASS: Symbol not found for DependencyCollector
.invoke(dependencyConstraint: ERROR CLASS: Symbol not found for Provider<out ERROR CLASS: Symbol not found for DependencyConstraint>, configuration: ERROR CLASS: Symbol not found for Action<in ERROR CLASS: Symbol not found for DependencyConstraint>): ERROR CLASS: Unresolved name: addConstraint
(source)Add a dependency constraint.
Since
8.7
dependency constraint to add
an action to configure the dependency constraint
Configures the dependency constraints.
Since
5.0
Returns a property delegate provider that will initialize the extra property to the value provided by initialValueProvider.
Usage: val answer by extra { 42 }
Returns a property delegate provider that will initialize the extra property to the given initialValue.
Usage: val answer by extra(42)
Enables function invocation syntax on Closure references.
inline operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>
> C.invoke(configuration: ERROR CLASS: Symbol not found for Action<org/gradle/kotlin/dsl/NamedDomainObjectContainerScope<T>>): C(source) Allows the container to be configured via an augmented DSL.
Return
The container.
The expression to configure this container with
operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectProvider<T>
.invoke(action: T.() -> Unit): ERROR CLASS: Ambiguity: configure, [org/gradle/kotlin/dsl/configure, org/gradle/kotlin/dsl/configure, org/gradle/kotlin/dsl/configure, org/gradle/kotlin/dsl/configure, org/gradle/kotlin/dsl/configure, org/gradle/kotlin/dsl/configure]
(source) Allows a NamedDomainObjectProvider to be configured via invocation syntax.
val rebuild by tasks.registering
rebuild { // rebuild.configure {
dependsOn("clean")
}
Enables function invocation syntax on Spec instances.
inline operator fun ERROR CLASS: Symbol not found for TaskContainer
.invoke(configuration: TaskContainerScope.() -> Unit): ERROR CLASS: Symbol not found for TaskContainer
(source) Allows a TaskContainer to be configured via an augmented DSL that includes a shorthand string notation for configuring existing tasks.
tasks {
"build" {
dependsOn("clean")
}
"clean"(Delete::class) {
delete("./build")
}
}
Return
The given TaskContainer.
The expression to configure this TaskContainer with.