Kapt: compile annotation-processing artifact with target "1.6"
(cherry picked from commit 1391e59)
This commit is contained in:
committed by
Yan Zhulanow
parent
b13db88e6f
commit
a9de8ec89b
@@ -790,7 +790,8 @@
|
|||||||
|
|
||||||
<target name="annotation-processing">
|
<target name="annotation-processing">
|
||||||
<cleandir dir="${output}/classes/annotation-processing"/>
|
<cleandir dir="${output}/classes/annotation-processing"/>
|
||||||
<javac2 destdir="${output}/classes/annotation-processing" debug="true" debuglevel="lines,vars,source" includeAntRuntime="false">
|
<javac2 destdir="${output}/classes/annotation-processing" debug="true" debuglevel="lines,vars,source"
|
||||||
|
includeAntRuntime="false" source="${java.target}" target="${java.target}">
|
||||||
<withKotlin modulename="annotation-processing">
|
<withKotlin modulename="annotation-processing">
|
||||||
<compilerarg value="-version"/>
|
<compilerarg value="-version"/>
|
||||||
</withKotlin>
|
</withKotlin>
|
||||||
|
|||||||
@@ -160,6 +160,10 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>1.6</source>
|
||||||
|
<target>1.6</target>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-failsafe-plugin</artifactId>
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user