diff options
author | Simon Schäfer <mail@antoras.de> | 2015-09-16 17:46:17 +0200 |
---|---|---|
committer | Simon Schäfer <mail@antoras.de> | 2015-09-16 17:46:17 +0200 |
commit | 15c2381ff82b6a97af0d2070d269ea5f7f3da490 (patch) | |
tree | 2ce789aa94d4c849cdd5de0a09024267f715a876 /build.xml | |
parent | bb52b24bab4482611b0fd8763e500c951e99ea3f (diff) | |
download | scala-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.xml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"/> |