How to resolve/finalize an Ivy file (descriptor) without downloading any artifacts? -
using ivy, i'd run resolve task finalize ivy file dependency versions, not download artifacts.
i see there type attribute on resolve task lets filter artifacts of type:
the ivy resolve task not finalize ivy descriptor file.
the ivy deliver task finalizes ivy descriptor file.
running resolve task blank string type atttribute resolves prevents downloading artifact dependencies:
<ivy:resolve type=""/>
for deliver correctly finalize ivy descriptor file, must call resolve task dependency of deliver task (using ant):
<target name="deliver" depends="resolve"> <ivy:deliver/> </target> <target name="resolve"> <ivy:resolve/> </target>
calling resolve , deliver tasks separate executions of ant won't work.
Comments
Post a Comment