Skip to content

Commit

Permalink
Don’t fetch Ivy if it is available
Browse files Browse the repository at this point in the history
(homebrew Ant distribution includes Ivy and BCEL)
  • Loading branch information
twogee committed Jul 18, 2021
1 parent 5433883 commit 5764fe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@
value="${htmlcheck.report.dir}/report.txt"
description="Report file of the HTML-Check"/>

<available classname="org.apache.ivy.Ivy" property="ivy.present"/>

<target name="init-ivy">
<target name="init-ivy" unless="ivy.present">
<property name="ivy.version" value="2.5.0"/>
<property name="ivy.jar.url" value="https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"/>
<property name="ivy.jar.dir" value="${build.dir}/ivy"/>
Expand Down

0 comments on commit 5764fe9

Please sign in to comment.