checkdepsupdate


Display dependency updates on the console. This task can also show transitive dependencies updates and detect missing or new dependencies if you update dependencies.

This is a post resolve task, with all the behaviour and attributes common to all post resolve tasks.

Please prefer the use of retrieve + standard ant path creation, which make your build more independent from ivy (once artifacts are properly retrieved, ivy is not required any more).

Attributes

AttributeDescriptionRequired
revisionToChecktarget revision to check No. Defaults to 'latest.integration'
downloadspecify if artifact should be downloaded when new updates are found No. Defaults to 'false'
checkIfChangedWhen set to true, the resolve will compare the result with the last resolution done on this module, with those configurations in order to define the property ivy.deps.changed. Put it to false may provides slightly better performance.No, default to 'false'
showTransitiveset to true if you want to see potential updates on transitive dependencies No. Defaults to 'false'

Example

Suppose we have two dependencies one called mydep in revision 1.0 and one called myotherdependency in revision 2.0.
mydep has a transitive dependency on mytransitivedependency in revision 2.2.

Then:
<checkdepsupdate />
will display the following updates in the console:
Dependencies updates available :
mycompany#mydep 1.0 -> 2.0
mycompany#myotherdependency 2.0 -> 2.2
Same example with transitive dependencies :
<checkdepsupdate showTransitive="true" />
will display the following updates in the console:
Dependencies updates available :
mycompany#mydep 1.0 -> 2.0
mycompany#myotherdependency 2.0 -> 2.2
mycompany##mytransitivedependency (transitive) 2.2 -> 2.4