/build.xml
http://github.com/JavaPosseRoundup/job-dsl-plugin · XML · 33 lines · 25 code · 5 blank · 3 comment · 0 complexity · 31cce4e9eda537f3903d8f396ae4872a MD5 · raw file
- <!-- This is not a real Ant build. This file is only here so that the IntelliJ
- Idea run config can call an ant task that kicks off Gradle. When an IntelliJ
- run config can invoke Gradle tasks this will not be needed.-->
- <project>
- <target name="compile" depends="findPlatform, compileMac, compileWindows"/>
- <target name="findPlatform">
- <condition property="isUnix">
- <and>
- <os family="unix"/>
- </and>
- </condition>
- <condition property="isWindows">
- <and>
- <os family="windows"/>
- </and>
- </condition>
- </target>
- <target name="compileMac" if="isUnix">
- <exec executable="./gradlew" failonerror="true">
- <arg value="testClasses"/>
- </exec>
- </target>
- <target name="compileWindows" if="isWindows">
- <exec executable="./gradlew.bat" failonerror="true">
- <arg value="testClasses"/>
- </exec>
- </target>
- </project>