Changeset 14172 in josm
- Timestamp:
- 2018-08-21T00:53:11+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r14171 r14172 54 54 <isset property="clevel"/> 55 55 </condition> 56 <!-- For Java9-specific stuff --> 57 <condition property="isJava9"> 58 <matches string="${ant.java.version}" pattern="(1.)?(9|1[0-9])" /> 59 </condition> 60 <!-- For Java10-specific stuff --> 61 <condition property="isJava10"> 62 <matches string="${ant.java.version}" pattern="1[0-9]" /> 63 </condition> 64 <!-- For Java11-specific stuff --> 65 <condition property="isJava11"> 66 <matches string="${ant.java.version}" pattern="1[1-9]" /> 67 </condition> 68 <!-- For Java12-specific stuff --> 69 <condition property="isJava12"> 70 <matches string="${ant.java.version}" pattern="1[2-9]" /> 71 </condition> 56 <!-- For Java specific stuff by version --> 57 <condition property="isJava9"><matches string="${ant.java.version}" pattern="(1.)?(9|1[0-9])" /></condition> 58 <condition property="isJava10"><matches string="${ant.java.version}" pattern="1[0-9]" /></condition> 59 <condition property="isJava11"><matches string="${ant.java.version}" pattern="1[1-9]" /></condition> 60 <condition property="isJava12"><matches string="${ant.java.version}" pattern="1[2-9]" /></condition> 61 <condition property="isJava13"><matches string="${ant.java.version}" pattern="1[3-9]" /></condition> 72 62 <!-- error_prone works differently on Java 10+, see https://github.com/google/error-prone/issues/860 --> 73 63 <condition property="javac.compiler" value="modern" else="com.google.errorprone.ErrorProneAntCompilerAdapter"> 74 64 <isset property="isJava10"/> 75 65 </condition> 76 <!-- Disable jacoco on Java 1 2+-->66 <!-- Disable jacoco on Java 13+, see https://github.com/jacoco/jacoco/pull/738 --> 77 67 <condition property="coverageByDefault"> 78 68 <not> 79 <isset property="isJava1 2"/>69 <isset property="isJava13"/> 80 70 </not> 81 71 </condition>
Note:
See TracChangeset
for help on using the changeset viewer.