-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.xml
33 lines (28 loc) · 990 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!-- 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>