- Documentation (2.1.0)
- Release Notes
- Settings Files
- Ivy Files
- Ant Tasks
- Using standalone
- Developer doc
Tag: dependencies Parent: ivy-module
Container for dependency elements, used to describe the dependencies of this module.
If this container is not present, it is assumed that the module has no dependency at all.
This container let the possibility to define two very similar things: defaultconf and defaultconfmapping.
defaultconfexists since Ivy 1.1 and enables to define the default conf attribute to use when no conf is defined for a dependency in this ivy file. It is only used when no conf mapping is defined, and has no influence in other cases.
defaultconfmappingexists since Ivy 1.3 and enables not only to define the default conf mapping when no conf is specified for a dependency in this ivy file, but it also influence the way conf mapping with no mapped conf are interpreted (see configurations doc page for details about this).
Note that if both defaultconf and defaultconfmapping are defined, it's the defaultconfmapping that is used. Note also that if several defaultconfmapping are defined (one in the configurations tag, one or several in included configurations file, and/or one in the dependency tag, then it's only the last which is taken into account, the others will have no effect at all.
|defaultconf||the default configuration to use when none is specified in a dependency. since 1.1||No, defaults to *->*|
|defaultconfmapping||the default configuration mapping to use in this ivy file. since 1.3||No, defaults to no default conf mapping|
|dependency||declares a dependency for this module||0..n|
|exclude||excludes artifacts, modules or whole organizations from the set of dependencies of this module since 2.0||0..n|