<?xml version="1.0" encoding="utf-8"?>
<project name="flatlaf" default="dist" basedir=".">
    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    <property name="plugin.main.version" value="19044"/>

    <property name="plugin.author" value="simon04"/>
    <property name="plugin.class" value="org.openstreetmap.josm.plugins.flatlaf.FlatLafPlugin"/>
    <property name="plugin.description" value="FlatLaf - Flat Look and Feel"/>
    <property name="plugin.icon" value="images/FlatLaf.svg"/>
    <property name="plugin.early" value="true" />
    <property name="plugin.stage" value="-4" /><!-- very early plugin -->
    <property name="plugin.link" value="https://www.formdev.com/flatlaf/"/>

    <!-- ** include targets that all plugins have in common ** -->
    <import file="../build-common.xml"/>
    <target name="pre-compile" depends="fetch_dependencies"/>

    <target name="setup-dist">
        <antcall target="setup-dist-default"/>
        <copy todir="${plugin.build.dir}">
            <fileset dir="${plugin.src.dir}" includes="**/*.properties"/>
        </copy>
    </target>

    <target name="additional-manifest">
        <manifest file="MANIFEST" mode="update">
            <attribute name="Multi-Release" value="true"/>
        </manifest>
    </target>
</project>
