# add

inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.CompatibilityRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeCompatibilityRule<T>>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.CompatibilityRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeCompatibilityRule<T>>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.CompatibilityRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeCompatibilityRule<T>>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in ERROR CLASS: Symbol not found for org.gradle.api.ActionConfiguration>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.CompatibilityRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeCompatibilityRule<T>>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in ERROR CLASS: Symbol not found for org.gradle.api.ActionConfiguration>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.attributes.CompatibilityRuleChain.add.

#### Since

4.0

#### See also

org.gradle.api.attributes.CompatibilityRuleChain.add

inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.initialization.SharedModelDefaults.add(name: String, publicType: KClass<T>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in T>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.initialization.SharedModelDefaults.add(name: String, publicType: KClass<T>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in T>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.initialization.SharedModelDefaults.add.

#### Since

8.10

#### See also

org.gradle.api.initialization.SharedModelDefaults.add

inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.plugins.ExtensionContainer.add(publicType: KClass<T>, name: String, extension: T)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.plugins.ExtensionContainer.add(publicType: KClass<T>, name: String, extension: T)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ExtensionContainer.add.

#### Since

3.5

#### See also

org.gradle.api.plugins.ExtensionContainer.add

inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.DisambiguationRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeDisambiguationRule<T>>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.DisambiguationRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeDisambiguationRule<T>>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.DisambiguationRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeDisambiguationRule<T>>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in ERROR CLASS: Symbol not found for org.gradle.api.ActionConfiguration>)(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.attributes.DisambiguationRuleChain<T>.add(ruleClass: KClass<out ERROR CLASS: Symbol not found for org.gradle.api.attributes.AttributeDisambiguationRule<T>>, configureAction: ERROR CLASS: Symbol not found for org.gradle.api.Action<in ERROR CLASS: Symbol not found for org.gradle.api.ActionConfiguration>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.attributes.DisambiguationRuleChain.add.

#### Since

4.0

#### See also

org.gradle.api.attributes.DisambiguationRuleChain.add

inline fun ERROR CLASS: Symbol not found for DependencyHandler.add(configuration: String, dependencyNotation: String, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency(source)

Adds a dependency to the given configuration, and configures the dependency using the given expression.

#### Return

The dependency.

#### Parameters

configuration

The name of the configuration.

dependencyNotation

The dependency notation.

dependencyConfiguration

The expression to use to configure the dependency.

inline fun <T : ERROR CLASS: Symbol not found for ModuleDependency> ERROR CLASS: Symbol not found for DependencyHandler.add(configuration: String, dependency: T, dependencyConfiguration: T.() -> Unit): T(source)

Adds a dependency to the given configuration, and configures the dependency using the given expression.

#### Return

The dependency.

#### Parameters

configuration

The name of the configuration.

dependency

The dependency.

dependencyConfiguration

The expression to use to configure the dependency.

inline fun <T : Any> ERROR CLASS: Symbol not found for ExtensionContainer.add(name: String, extension: T)(source)

Adds a new extension to this container.

#### Since

5.0

#### Parameters

name

the name of the extension

extension

the extension instance

#### Type Parameters

T

the public type of the added extension

#### See also

ExtensionContainer.add

#### Throws

IllegalArgumentException

When an extension with the given name already exists.