mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 14:13:43 +00:00
Use includeantruntime="false" for safety and to avoid warnings under Ant 1.8.0+.
This commit is contained in:
1 parent
9523364898
commit
a8e92af7b7
1 file changed
+3
-3
@@ -117,7 +117,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
|
||||
|
||||
<target name="version" depends="ensure-ipp" description="Shows the version number." unless="lombok.version">
|
||||
<mkdir dir="build/lombok" />
|
||||
<javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" source="1.5" target="1.5" includes="lombok/core/Version.java" />
|
||||
<javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" source="1.5" target="1.5" includes="lombok/core/Version.java" includeantruntime="false" />
|
||||
<java
|
||||
classname="lombok.core.Version"
|
||||
classpath="build/lombok"
|
||||
@@ -139,14 +139,14 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
|
||||
anymore until you 'ant clean'. That's very much not desired, so we kill the processor, which stops lombok from running.
|
||||
We re-create the file at the end of this target. -->
|
||||
<delete file="build/lombok/META-INF/services/javax.annotation.processing.Processor" quiet="true" />
|
||||
<ivy:compile destdir="build/lombok" source="1.5" target="1.5">
|
||||
<ivy:compile destdir="build/lombok" source="1.5" target="1.5" includeantruntime="false">
|
||||
<src path="src/core" />
|
||||
<src path="src/installer" />
|
||||
<src path="src/eclipseAgent" />
|
||||
<exclude name="lombok/javac/**" />
|
||||
<classpath refid="build.path" />
|
||||
</ivy:compile>
|
||||
<ivy:compile destdir="build/lombok" source="1.6" target="1.6">
|
||||
<ivy:compile destdir="build/lombok" source="1.6" target="1.6" includeantruntime="false">
|
||||
<src path="src/core" />
|
||||
<src path="src/delombok" />
|
||||
<include name="lombok/javac/**" />
|
||||
|
||||
Reference in new issue
Block a user