From 476a43b970b01eafcc053eead69db57a0ab854cf Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 16 Mar 2021 17:09:13 +0100 Subject: [build] sped up the build considerable. We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though. --- buildScripts/compile.ant.xml | 64 +++++++++++------------------ buildScripts/create-eclipse-project.ant.xml | 3 +- buildScripts/ivy.xml | 1 - buildScripts/setup.ant.xml | 4 +- 4 files changed, 28 insertions(+), 44 deletions(-) (limited to 'buildScripts') diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index bc1d3e8d..0d08d482 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -1,5 +1,5 @@ + 4. Compile lombok. --> - + @@ -183,7 +194,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - + - - - - - - - - - - - - - - - - - - - - - - - - - - - lombok.launch.AnnotationProcessorHider$AnnotationProcessor + + lombok.launch.AnnotationProcessorHider$AnnotationProcessor lombok.launch.AnnotationProcessorHider$ClaimingProcessor - - lombok.launch.AnnotationProcessorHider$AnnotationProcessor,isolating + + lombok.launch.AnnotationProcessorHider$AnnotationProcessor,isolating lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating @@ -272,7 +257,6 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating - diff --git a/buildScripts/create-eclipse-project.ant.xml b/buildScripts/create-eclipse-project.ant.xml index 383ebd8b..909645d0 100644 --- a/buildScripts/create-eclipse-project.ant.xml +++ b/buildScripts/create-eclipse-project.ant.xml @@ -1,5 +1,5 @@ diff --git a/buildScripts/setup.ant.xml b/buildScripts/setup.ant.xml index e71f8143..f81c5134 100644 --- a/buildScripts/setup.ant.xml +++ b/buildScripts/setup.ant.xml @@ -1,5 +1,5 @@