For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

addProviderConvertible

abstract fun <T, U : ExternalModuleDependency?> addProviderConvertible(configurationName: String, dependencyNotation: ProviderConvertible<T>, configuration: Action<in U>)(source)

Adds a dependency provider to the given configuration, eventually configures the dependency using the given action.

Since

7.4

Parameters

configurationName

The name of the configuration.

dependencyNotation

The dependency provider notation, in one of the notations described above.

configuration

The action to use to configure the dependency.


abstract fun <T> addProviderConvertible(configurationName: String, dependencyNotation: ProviderConvertible<T>)(source)

Adds a dependency provider to the given configuration.

Since

7.4

Parameters

configurationName

The name of the configuration.

dependencyNotation

The dependency provider notation, in one of the notations described above.