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.
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.
action
- The action to use to configure the repository.
Return
The added repository.