Hack for unavailable archive.apache.org: use bintray.com instead
This commit is contained in:
@@ -111,10 +111,11 @@
|
||||
<attribute name="version"/>
|
||||
<attribute name="folderName"/>
|
||||
<sequential>
|
||||
<get src="http://archive.apache.org/dist/ant/binaries/apache-ant-@{version}-bin.tar.gz"
|
||||
<!-- todo: temporary hack for unavailable archive.apache.org -->
|
||||
<get src="https://bintray.com/artifact/download/kotlin/AntForKotlin/apache-ant-@{version}-bin.tar.gz"
|
||||
dest="dependencies/download/apache-ant-@{version}-bin.tar.gz" usetimestamp="true"/>
|
||||
|
||||
<get src="http://archive.apache.org/dist/ant/source/apache-ant-@{version}-src.zip"
|
||||
<get src="https://bintray.com/artifact/download/kotlin/AntForKotlin/apache-ant-@{version}-src.zip"
|
||||
dest="dependencies/apache-ant-@{version}-src.zip" usetimestamp="true"/>
|
||||
|
||||
<delete dir="dependencies/@{folderName}" failonerror="false"/>
|
||||
|
||||
Reference in New Issue
Block a user