diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-12-04 00:39:54 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-12-04 00:39:54 +0100 |
commit | b59db90acffd7f31c3c1108961ad96b9791b24f2 (patch) | |
tree | 914d260009d991fd88cdb4353be4597515e090a0 | |
parent | 6f39ee388cd2f9cbe8940948d069e573d83f60cc (diff) | |
download | lombok-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.xml | 5 |
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> |