Trying to add a user agent for ant.
This commit is contained in:
parent
5a9e195938
commit
8a6d844680
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@
|
|||
|
||||
<get src="http://mcp.ocean-labs.de/files/mcp${mcp.version}.zip" dest="${download.dir}" usetimestamp="True"/>
|
||||
<get src="http://files.minecraftforge.net/minecraftforge-src-${forge.version}.zip"
|
||||
dest="${download.dir}" usetimestamp="True"/>
|
||||
dest="${download.dir}" usetimestamp="True">
|
||||
<header name="User-Agent" value="Ant-${ant.version}/${ant.java.version}" />
|
||||
</get>
|
||||
|
||||
<unzip dest="${mcp.dir}">
|
||||
<fileset dir="${download.dir}">
|
||||
|
|
Loading…
Add table
Reference in a new issue