Declares the explicit artifacts for this module.
Declares the explicit artifacts for this module. If this ModuleID represents a dependency, these artifact definitions override the information in the dependency's published metadata.
Sets the Ivy branch of this module.
Sets the Ivy branch of this module.
Marks this dependency as "changing".
Marks this dependency as "changing". Ivy will always check if the metadata has changed and then if the artifact has changed, redownload it. sbt configures all -SNAPSHOT dependencies to be changing.
See the "Changes in artifacts" section of https://ant.apache.org/ivy/history/trunk/concept.html for full details.
Adds a dependency on the artifact for this module with classifier c
.
Adds a dependency on the artifact for this module with classifier c
.
Specifies the cross-version behavior for this module.
Specifies the cross-version behavior for this module. See [CrossVersion] for details.
Excludes the dependency with organization org
and name
from being introduced by this dependency during resolution.
Excludes the dependency with organization org
and name
from being introduced by this dependency during resolution.
Applies the provided exclusions to dependencies of this module.
Applies the provided exclusions to dependencies of this module. Note that only exclusions that specify both the exact organization and name and nothing else will be included in a pom.xml.
Adds extra attributes for this module.
Adds extra attributes for this module. All keys are prefixed with e:
if they are not already so prefixed.
This information will only be published in an ivy.xml and not in a pom.xml.
Returns the extra attributes except for ones marked as information only (ones that typically would not be used for dependency resolution).
Returns the extra attributes except for ones marked as information only (ones that typically would not be used for dependency resolution).
String representation of the extra attributes, excluding any information only attributes.
String representation of the extra attributes, excluding any information only attributes.
Indicates that conflict resolution should only select this module's revision.
Indicates that conflict resolution should only select this module's revision. This prevents a newer revision from being pulled in by a transitive dependency, for example.
Specifies a URL from which the main artifact for this dependency can be downloaded.
Specifies a URL from which the main artifact for this dependency can be downloaded. This value is only consulted if the module is not found in a repository. It is not included in published metadata.
Do not follow dependencies of this module.
Do not follow dependencies of this module. Synonym for notTransitive
.
Declares a dependency on the main artifact.
Declares a dependency on the main artifact. This is implied by default unless artifacts are explicitly declared, such as when adding a dependency on an artifact with a classifier.
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the update-classifiers
task is preferred
for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc"
classifier. If you want to also depend on the main artifact, be sure to also call jar()
or use withJavadoc()
instead.
Do not follow dependencies of this module.
Do not follow dependencies of this module. Synonym for intransitive
.
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the update-classifiers
task is preferred
for performance and correctness. This method adds a dependency on this module's artifact with the "sources"
classifier. If you want to also depend on the main artifact, be sure to also call jar()
or use withSources()
instead.
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the update-classifiers
task is preferred
for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc"
classifier. If there is not already an explicit dependency on the main artifact, this adds one.
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the update-classifiers
task is preferred
for performance and correctness. This method adds a dependency on this module's artifact with the "sources"
classifier. If there is not already an explicit dependency on the main artifact, this adds one.
(Since version 0.12.0) Use cross(CrossVersion)
, the variant accepting a CrossVersion value constructed by a member of the CrossVersion object instead.