aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorPascal Bihler <pascal@qfs.de>2018-05-03 11:57:01 +0200
committerPascal Bihler <pascal@qfs.de>2018-05-03 12:09:12 +0200
commita2623f1965848cb941374f70ae008f56d7738736 (patch)
treec314f6c57124d3facb362661a1f6eb148f1c4ff4 /build.xml
parenta9aafe2d794b7c0aacb37c7b4e6ba1ec359dc2a9 (diff)
downloadlombok-a2623f1965848cb941374f70ae008f56d7738736.tar.gz
lombok-a2623f1965848cb941374f70ae008f56d7738736.tar.bz2
lombok-a2623f1965848cb941374f70ae008f56d7738736.zip
Allow gradle incremental compiling with lombok in annotation processor path
Fixes issue #1580
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 384128ea..ed989fe3 100644
--- a/build.xml
+++ b/build.xml
@@ -306,6 +306,9 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<echo file="build/lombok/META-INF/services/javax.annotation.processing.Processor">lombok.launch.AnnotationProcessorHider$AnnotationProcessor
lombok.launch.AnnotationProcessorHider$ClaimingProcessor</echo>
<echo file="build/lombok/META-INF/services/org.mapstruct.ap.spi.AstModifyingAnnotationProcessor">lombok.launch.AnnotationProcessorHider$AstModificationNotifier</echo>
+ <mkdir dir="build/lombok/META-INF/gradle" />
+ <echo file="build/lombok/META-INF/gradle/incremental.annotation.processors">lombok.launch.AnnotationProcessorHider$AnnotationProcessor,isolating
+lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
</target>
<target name="-latestChanges" depends="version">
@@ -335,6 +338,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor</echo>
<include name="lombok/launch/**" />
<include name="lombok/delombok/ant/Tasks*" />
<include name="lombok/javac/apt/Processor.class" />
+ <include name="lombok/META-INF/**" />
</fileset>
<mappedresources>
<fileset dir="build/lombok">