summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorSimon Schäfer <mail@antoras.de>2015-09-16 17:46:17 +0200
committerSimon Schäfer <mail@antoras.de>2015-09-16 17:46:17 +0200
commit15c2381ff82b6a97af0d2070d269ea5f7f3da490 (patch)
tree2ce789aa94d4c849cdd5de0a09024267f715a876 /build.xml
parentbb52b24bab4482611b0fd8763e500c951e99ea3f (diff)
downloadscala-15c2381ff82b6a97af0d2070d269ea5f7f3da490.tar.gz
scala-15c2381ff82b6a97af0d2070d269ea5f7f3da490.tar.bz2
scala-15c2381ff82b6a97af0d2070d269ea5f7f3da490.zip
Abort Ant build if Ant version is <1.9
Older Ant versions are not able to compiler Java8 sources
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index f568688c4e..775e3d56e5 100644
--- a/build.xml
+++ b/build.xml
@@ -506,6 +506,11 @@ TODO:
</condition>
<fail if="has.unsupported.jdk" message="JDK ${ant.java.version} is not supported by this build!"/>
+ <fail message="Ant 1.9+ required">
+ <condition>
+ <not><antversion atleast="1.9" /></not>
+ </condition>
+ </fail>
<!-- Allow this to be overridden simply -->
<property name="sbt.latest.version" value="0.12.4"/>