Use JRE builds to reduce binary size

This commit is contained in:
Reinhard Pointner 2019-05-25 18:22:04 +07:00
parent fe5fc7bbd1
commit 6fc391a3bb
1 changed files with 3 additions and 3 deletions

View File

@ -112,10 +112,10 @@
<attribute name="dest" />
<sequential>
<exec executable="powershell" dir="${dir.cache}" failonerror="yes" osFamily="windows">
<arg line="get-java get jdk x86_64" />
<arg line="get-java get jre x86_64" />
</exec>
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes" osFamily="unix">
<arg line="get jdk x86_64 Windows" />
<arg line="get jre x86_64 Windows" />
</exec>
<unzip src="${dir.cache}/openjdk-${jre.version}_windows-x64_bin.zip" dest="@{dest}">
<patternset refid="pattern.jre" />
@ -140,7 +140,7 @@
<attribute name="dest" />
<sequential>
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes">
<arg line="get jdk x86_64 Darwin" />
<arg line="get jre x86_64 Darwin" />
</exec>
<untar src="${dir.cache}/openjdk-${jre.version}_osx-x64_bin.tar.gz" dest="@{dest}" compression="gzip">
<patternset refid="pattern.jre" />