api / org.gradle.api.artifacts.repositories / IvyArtifactRepositoryMetaDataProvider

IvyArtifactRepositoryMetaDataProvider

@Incubating interface IvyArtifactRepositoryMetaDataProvider

The meta-data provider for an Ivy repository. Uses the Ivy module descriptor (ivy.xml) to determine the meta-data for module versions and artifacts.

Functions

isDynamicMode

abstract fun isDynamicMode(): Boolean

Returns true if dynamic resolve mode should be used for Ivy modules. When enabled, the revConstraint attribute for each dependency declaration is used in preference to the rev attribute. When disabled (the default), the rev attribute is always used.

setDynamicMode

abstract fun setDynamicMode(mode: Boolean): Unit

Specifies whether dynamic resolve mode should be used for Ivy modules. When enabled, the revConstraint attribute for each dependency declaration is used in preference to the rev attribute. When disabled (the default), the rev attribute is always used.