1 Star 0 Fork 0

yohom / anko

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
update_dependencies.xml 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
Ken Gorab 提交于 2017-03-01 11:22 . Fixes #329 (#330)
<project name="Update Dependencies" default="update">
<target name="update">
<mkdir dir="dependencies/download"/>
<get src="http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/4.2/asm-debug-all-4.2.jar"
dest="dependencies/asm-4.2.jar" usetimestamp="true"/>
<get src="http://search.maven.org/remotecontent?filepath=junit/junit/4.11/junit-4.11.jar"
dest="dependencies/junit-4.11.jar" usetimestamp="true"/>
<get src="http://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar"
dest="dependencies/hamcrest-all-1.3.jar" usetimestamp="true"/>
<get src="http://search.maven.org/remotecontent?filepath=org/json/json/20080701/json-20080701.jar"
dest="dependencies/json-20080701.jar" usetimestamp="true"/>
<get src="https://plugins.jetbrains.com/files/6954/28547/kotlin-plugin-1.0.4-release-IJ2016.1-112.zip"
dest="dependencies/kotlin-plugin.zip" usetimestamp="true"/>
<get src="http://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar"
dest="dependencies/ant-contrib.jar" usetimestamp="true"/>
<delete dir="dependencies/kotlin-plugin" failonerror="false"/>
<unzip src="dependencies/kotlin-plugin.zip"
dest="dependencies/"/>
<set_unix_perms />
<ant antfile="update_dependencies_idea.xml" target="update"/>
<rename src="ideaSDK/lib/kotlin-runtime.jar" dest="kotlin-runtime.jar.bak"/>
<rename src="ideaSDK/lib/kotlin-reflect.jar" dest="kotlin-reflect.jar.bak"/>
<copydir src="dependencies/Kotlin" dest="ideaSDK/plugins/Kotlin" forceoverwrite="true"/>
</target>
<macrodef name="set_unix_perms">
<sequential>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="dependencies/ant-contrib.jar"/>
<if>
<equals arg1="${os.tag}" arg2="win.zip"/>
<then />
<else>
<chmod dir="dependencies/Kotlin/kotlinc/bin" perm="+x" includes="**/*"/>
</else>
</if>
</sequential>
</macrodef>
</project>
1
https://gitee.com/yohom_342/anko.git
git@gitee.com:yohom_342/anko.git
yohom_342
anko
anko
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891