Ignore:
Timestamp:
2018-08-27T13:27:51+02:00 (6 years ago)
Author:
donvip
Message:

see #josm16682 - new property Plugin-Minimum-Java-Version for openjfx plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r34601 r34604  
    195195            <param name="property.value" value="${plugin.canloadatruntime}"/>
    196196        </antcall>
     197        <antcall target="add-manifest-attribute">
     198            <param name="manifest.attribute" value="Plugin-Minimum-Java-Version"/>
     199            <param name="property.name" value="plugin.minimum.java.version"/>
     200            <param name="property.value" value="${plugin.minimum.java.version}"/>
     201        </antcall>
    197202        <antcall target="additional-manifest" />
    198         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifest="MANIFEST" manifestencoding="UTF-8">
     203        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifest="MANIFEST" manifestencoding="UTF-8" duplicate="preserve" level="9">
    199204            <restrict>
    200205                <not><or>
     
    205210                    <name name="META-INF/*.RSA"/>
    206211                    <name name="META-INF/*.SF"/>
     212                    <name name="module-info.class"/>
    207213                </or></not>
    208214                <archives>
     
    213219            </restrict>
    214220        </jar>
    215         <jar destfile="${plugin.sources.jar}" basedir="${plugin.src.dir}"/>
    216         <jar destfile="${plugin.javadoc.jar}" basedir="${plugin.doc.dir}"/>
     221        <jar destfile="${plugin.sources.jar}" basedir="${plugin.src.dir}" level="9"/>
     222        <jar destfile="${plugin.javadoc.jar}" basedir="${plugin.doc.dir}" level="9"/>
    217223        <delete file="MANIFEST" failonerror="no"/>
    218224        <antcall target="post-dist" />
Note: See TracChangeset for help on using the changeset viewer.