classpath

fun ERROR CLASS: Symbol not found for DependencyHandler.classpath(dependencyNotation: Any): ERROR CLASS: Symbol not found for Dependency??(source)

Adds a dependency to the script classpath.

Return

The dependency.

Parameters

dependencyNotation

notation for the dependency to be added.

See also

DependencyHandler.add

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

Adds a dependency to the script classpath.

Return

The dependency.

Parameters

dependencyNotation

notation for the dependency to be added.

dependencyConfiguration

expression to use to configure the dependency.

See also

DependencyHandler.add

fun ERROR CLASS: Symbol not found for DependencyHandler.classpath(dependencyNotation: ERROR CLASS: Symbol not found for Provider<ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)(source)
fun ERROR CLASS: Symbol not found for DependencyHandler.classpath(dependencyNotation: ERROR CLASS: Symbol not found for ProviderConvertible<ERROR CLASS: Symbol not found for MinimalExternalModuleDependency>, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit)(source)

Adds a dependency to the script classpath.

Return

The dependency.

Since

7.4

Parameters

dependencyNotation

notation for the dependency to be added.

dependencyConfiguration

expression to use to configure the dependency.

See also

DependencyHandler.add

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

Adds a dependency to the script classpath.

Return

The dependency.

Parameters

dependency

dependency to be added.

dependencyConfiguration

expression to use to configure the dependency.

See also

DependencyHandler.add

fun ERROR CLASS: Symbol not found for DependencyConstraintHandler.classpath(dependencyConstraintNotation: Any): ERROR CLASS: Symbol not found for DependencyConstraint??(source)

Adds a dependency constraint to the script classpath configuration.

Return

the added dependency constraint

Since

5.0

Parameters

dependencyConstraintNotation

the dependency constraint notation

See also

DependencyConstraintHandler.add

fun ERROR CLASS: Symbol not found for DependencyConstraintHandler.classpath(dependencyConstraintNotation: Any, configuration: ERROR CLASS: Symbol not found for DependencyConstraint.() -> Unit): ERROR CLASS: Symbol not found for DependencyConstraint??(source)

Adds a dependency constraint to the script classpath configuration.

Return

the added dependency constraint

Since

5.0

Parameters

dependencyConstraintNotation

the dependency constraint notation

configuration

the block to use to configure the dependency constraint

See also

DependencyConstraintHandler.add

val ERROR CLASS: Symbol not found for NamedDomainObjectContainer<ERROR CLASS: Symbol not found for Configuration>.classpath: ERROR CLASS: Symbol not found for NamedDomainObjectProvider<ERROR CLASS: Symbol not found for Configuration>(source)

The script classpath configuration.


fun ERROR CLASS: Symbol not found for DependencyHandler.classpath(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null): ERROR CLASS: Symbol not found for ExternalModuleDependency(source)

Deprecated

Use single-string notation instead

Adds a dependency to the script classpath.

Return

The dependency.

Parameters

group

the group of the module to be added as a dependency.

name

the name of the module to be added as a dependency.

version

the optional version of the module to be added as a dependency.

configuration

the optional configuration of the module to be added as a dependency.

classifier

the optional classifier of the module artifact to be added as a dependency.

ext

the optional extension of the module artifact to be added as a dependency.

See also

DependencyHandler.add

inline fun ERROR CLASS: Symbol not found for DependencyHandler.classpath(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, dependencyConfiguration: ERROR CLASS: Symbol not found for ExternalModuleDependency.() -> Unit): ERROR CLASS: Symbol not found for ExternalModuleDependency(source)

Deprecated

Use single-string notation instead

Adds a dependency to the script classpath.

Return

The dependency.

Parameters

group

the group of the module to be added as a dependency.

name

the name of the module to be added as a dependency.

version

the optional version of the module to be added as a dependency.

configuration

the optional configuration of the module to be added as a dependency.

classifier

the optional classifier of the module artifact to be added as a dependency.

ext

the optional extension of the module artifact to be added as a dependency.

dependencyConfiguration

expression to use to configure the dependency.

See also

DependencyHandler.create
DependencyHandler.add