Additional Pipes for Buildcraft

Additional Pipes for Buildcraft

604k Downloads

Sanity check: Minimum ant version is 1.8

clbuttic opened this issue ยท 0 comments

commented

Please add an antversion check, attached to a fail task. useNativeBasedir was introduced at 1.8, may cause unnecessary issue reports. Inspired by http://stackoverflow.com/a/10745278/322017

<property name="ant.version.required" value="1.8" />

<target name="ant_version_check">
    <antversion property="ant.version.running" />
    <fail message="FATAL ERROR:  The running Ant version, ${ant.version.running}, is too old.">
        <condition>
            <not>
                <antversion atleast="${ant.version.required}" />
            </not>
        </condition>
    </fail>
 </target>

<!-- build BuildCraft -->
<target name="buildcraft" depends="ant_version_check">
    <ant antfile="BuildCraft/build.xml" useNativeBasedir="true" inheritAll="false" />
 </target>