[34602] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 | <project name="openjfx" default="dist" basedir=".">
|
---|
| 3 | <!-- enter the SVN commit message -->
|
---|
| 4 | <property name="commit.message" value="Commit message"/>
|
---|
| 5 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
[34623] | 6 | <property name="plugin.main.version" value="14234"/>
|
---|
[34602] | 7 |
|
---|
| 8 | <!-- Configure these properties (replace "..." accordingly).
|
---|
| 9 | See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
|
---|
| 10 | -->
|
---|
| 11 | <property name="plugin.author" value="Don-vip"/>
|
---|
[34623] | 12 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.openjfx.OpenJfxPlugin"/>
|
---|
[34602] | 13 | <property name="plugin.description" value="Provides the OpenJFX (JavaFX) library for JOSM core and other JOSM plugins. Provides additional features such as MP3 audio playback."/>
|
---|
[34604] | 14 | <property name="plugin.minimum.java.version" value="11"/>
|
---|
[34602] | 15 | <!--<property name="plugin.icon" value="..."/>-->
|
---|
| 16 | <!--<property name="plugin.link" value="..."/>-->
|
---|
| 17 | <property name="plugin.early" value="true"/>
|
---|
| 18 | <!--<property name="plugin.requires" value="..."/>-->
|
---|
| 19 | <property name="plugin.stage" value="5"/>
|
---|
| 20 |
|
---|
| 21 | <!-- ** include targets that all plugins have in common ** -->
|
---|
| 22 | <import file="../build-common.xml"/>
|
---|
| 23 |
|
---|
| 24 | <target name="pre-compile" depends="fetch_dependencies">
|
---|
| 25 | <!-- include fetch_dependencies task -->
|
---|
| 26 | </target>
|
---|
[34623] | 27 |
|
---|
| 28 | <!-- Override build-jar target to speed up merging from 16 minutes to 7 minutes -->
|
---|
| 29 | <target name="build-jar">
|
---|
| 30 | <echo>Building commong jar...</echo>
|
---|
| 31 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifest="MANIFEST" manifestencoding="UTF-8" duplicate="preserve" level="9">
|
---|
| 32 | <restrict>
|
---|
| 33 | <not><or>
|
---|
| 34 | <name name="META-INF/maven/*"/>
|
---|
| 35 | <name name="META-INF/DEPENDENCIES"/>
|
---|
| 36 | <name name="META-INF/LICENSE"/>
|
---|
| 37 | <name name="META-INF/NOTICE"/>
|
---|
| 38 | <name name="META-INF/*.RSA"/>
|
---|
| 39 | <name name="META-INF/*.SF"/>
|
---|
| 40 | <name name="module-info.class"/>
|
---|
| 41 | </or></not>
|
---|
| 42 | <archives>
|
---|
| 43 | <zips>
|
---|
| 44 | <fileset dir="${plugin.lib.dir}" includes="*-linux.jar"/>
|
---|
| 45 | </zips>
|
---|
| 46 | </archives>
|
---|
| 47 | </restrict>
|
---|
| 48 | </jar>
|
---|
| 49 | <echo>Adding macOS artifacts...</echo>
|
---|
| 50 | <jar destfile="${plugin.jar}" update="true" duplicate="preserve" level="9">
|
---|
| 51 | <restrict>
|
---|
| 52 | <or>
|
---|
| 53 | <name name="*.dylib"/>
|
---|
| 54 | <name name="com/sun/glass/events/mac/**"/>
|
---|
| 55 | <name name="com/sun/glass/ui/mac/**"/>
|
---|
| 56 | <name name="com/sun/media/jfxmediaimpl/platform/osx/**"/>
|
---|
| 57 | <name name="com/sun/prism/es2/**"/>
|
---|
| 58 | </or>
|
---|
| 59 | <archives>
|
---|
| 60 | <zips>
|
---|
| 61 | <fileset dir="${plugin.lib.dir}" includes="*-mac.jar"/>
|
---|
| 62 | </zips>
|
---|
| 63 | </archives>
|
---|
| 64 | </restrict>
|
---|
| 65 | </jar>
|
---|
| 66 | <echo>Adding Windows artifacts...</echo>
|
---|
| 67 | <jar destfile="${plugin.jar}" update="true" duplicate="preserve" level="9">
|
---|
| 68 | <restrict>
|
---|
| 69 | <or>
|
---|
| 70 | <name name="*.dll"/>
|
---|
| 71 | <name name="com/sun/glass/ui/win/**"/>
|
---|
| 72 | <name name="com/sun/prism/d3d/**"/>
|
---|
| 73 | <name name="com/sun/scenario/effect/impl/hw/d3d/**"/>
|
---|
| 74 | </or>
|
---|
| 75 | <archives>
|
---|
| 76 | <zips>
|
---|
| 77 | <fileset dir="${plugin.lib.dir}" includes="*-win.jar"/>
|
---|
| 78 | </zips>
|
---|
| 79 | </archives>
|
---|
| 80 | </restrict>
|
---|
| 81 | </jar>
|
---|
[34625] | 82 | <echo>Adding Monocle artifacts...</echo>
|
---|
| 83 | <jar destfile="${plugin.jar}" update="true" duplicate="preserve" level="9">
|
---|
| 84 | <restrict>
|
---|
| 85 | <archives>
|
---|
| 86 | <zips>
|
---|
| 87 | <fileset dir="${plugin.lib.dir}" includes="*-monocle*.jar"/>
|
---|
| 88 | </zips>
|
---|
| 89 | </archives>
|
---|
| 90 | </restrict>
|
---|
| 91 | </jar>
|
---|
[34623] | 92 | </target>
|
---|
[34602] | 93 | </project>
|
---|