api / org.gradle.api.artifacts.dsl / RepositoryHandler / ivy

ivy

abstract fun ivy(closure: Closure<Any>): IvyArtifactRepository

Adds and configures an Ivy repository. Newly created instance of IvyArtifactRepository is passed as an argument to the closure.

Parameters

closure - The closure to use to configure the repository.

Return
The added repository.

abstract fun ivy(action: Action<in IvyArtifactRepository>): IvyArtifactRepository

Adds and configures an Ivy repository.

Parameters

action - The action to use to configure the repository.

Return
The added repository.