aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-12-04 00:39:54 +0100
committerRoel Spilker <r.spilker@gmail.com>2020-12-04 00:39:54 +0100
commitb59db90acffd7f31c3c1108961ad96b9791b24f2 (patch)
tree914d260009d991fd88cdb4353be4597515e090a0
parent6f39ee388cd2f9cbe8940948d069e573d83f60cc (diff)
downloadlombok-b59db90acffd7f31c3c1108961ad96b9791b24f2.tar.gz
lombok-b59db90acffd7f31c3c1108961ad96b9791b24f2.tar.bz2
lombok-b59db90acffd7f31c3c1108961ad96b9791b24f2.zip
#2616 attempt to have java9 modules and java8 class files
-rw-r--r--buildScripts/mapstructBinding.ant.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildScripts/mapstructBinding.ant.xml b/buildScripts/mapstructBinding.ant.xml
index c59b84da..c18dadab 100644
--- a/buildScripts/mapstructBinding.ant.xml
+++ b/buildScripts/mapstructBinding.ant.xml
@@ -80,8 +80,11 @@ exists as a separate dependency solely because it is itself dependent on both lo
<mkdir dir="build/mapstruct-binding/classes" />
<echo file="build/mapstruct-binding/classes/META-INF/services/org.mapstruct.ap.spi.AstModifyingAnnotationProcessor">lombok.mapstruct.NotifierHider$AstModificationNotifier</echo>
+ <javac includeAntRuntime="false" source="1.8" target="1.8" destdir="build/mapstruct-binding/classes" modulepath="build/mapstruct-module-path">
+ <src path="src/bindings/mapstruct" excludes="module-info.java"/>
+ </javac>
<javac includeAntRuntime="false" source="1.9" target="1.9" destdir="build/mapstruct-binding/classes" modulepath="build/mapstruct-module-path">
- <src path="src/bindings/mapstruct" />
+ <src path="src/bindings/mapstruct" includes="module-info.java"/>
</javac>
<jar destfile="dist/lombok-mapstruct-binding-${mapstruct-binding.version}.jar" basedir="build/mapstruct-binding/classes" includes="**" />
</target>