# ivy

fun ERROR CLASS: Symbol not found for RepositoryHandler.ivy(url: Any): ERROR CLASS: Ambiguity: ivy, [org/gradle/kotlin/dsl/ivy, org/gradle/kotlin/dsl/ivy](source)

Adds and configures an Ivy repository.

The provided url value is evaluated as per org.gradle.api.Project.uri. This means, for example, you can pass in a `File` object, or a relative path to be evaluated relative to the project directory.

#### Return

The added repository.

#### Parameters

url

The base URL of this repository.

#### See also

RepositoryHandler.ivy

fun ERROR CLASS: Symbol not found for RepositoryHandler.ivy(url: Any, action: ERROR CLASS: Symbol not found for IvyArtifactRepository.() -> Unit): ERROR CLASS: Ambiguity: ivy, [org/gradle/kotlin/dsl/ivy, org/gradle/kotlin/dsl/ivy](source)

Adds and configures an Ivy repository.

The provided url value is evaluated as per org.gradle.api.Project.uri. This means, for example, you can pass in a `File` object, or a relative path to be evaluated relative to the project directory.

#### Return

The added repository.

#### Parameters

url

The base URL of this repository.

action

The action to use to configure the repository.

#### See also

RepositoryHandler.ivy