File tree 1 file changed +22
-2
lines changed
spring-boot-tools/spring-boot-antlib 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 80
80
</path >
81
81
<pathconvert refid =" taskpath" />
82
82
<typedef resource =" org/springframework/boot/ant/antlib.xml" classpathref =" taskpath" uri =" antlib:org.springframework.boot.ant" />
83
- <property name =" build.compiler" value =" org.eclipse.jdt.core.JDTCompilerAdapter " />
83
+ <property name =" build.compiler" value =" ${antBuildCompiler} " />
84
84
<antunit xmlns =" antlib:org.apache.ant.antunit" >
85
85
<propertyset >
86
86
<propertyref name =" build.compiler" />
120
120
<dependency >
121
121
<groupId >org.eclipse.jdt.core.compiler</groupId >
122
122
<artifactId >ecj</artifactId >
123
- <version >4.4.2 </version >
123
+ <version >4.6.1 </version >
124
124
</dependency >
125
125
</dependencies >
126
126
</plugin >
127
127
</plugins >
128
128
</build >
129
+ <profiles >
130
+ <profile >
131
+ <id >java-8</id >
132
+ <activation >
133
+ <jdk >[1.8,1.9)</jdk >
134
+ </activation >
135
+ <properties >
136
+ <antBuildCompiler >org.eclipse.jdt.core.JDTCompilerAdapter</antBuildCompiler >
137
+ </properties >
138
+ </profile >
139
+ <profile >
140
+ <id >java-9</id >
141
+ <activation >
142
+ <jdk >[1.9,)</jdk >
143
+ </activation >
144
+ <properties >
145
+ <antBuildCompiler >modern</antBuildCompiler >
146
+ </properties >
147
+ </profile >
148
+ </profiles >
129
149
</project >
You can’t perform that action at this time.
0 commit comments