<?xml version="1.0" encoding="utf-8"?>
<project name="livegps" default="dist" basedir=".">
    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    <property name="plugin.main.version" value="18788"/>

    <!-- Configure these properties (replace "..." accordingly).
         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    -->
    <property name="plugin.author" value="Frederik Ramm"/>
    <property name="plugin.class" value="livegps.LiveGpsPlugin"/>
    <property name="plugin.description" value="Support live GPS input (moving dot) through a connection to gpsd server."/>
    <property name="plugin.icon" value="images/dialogs/livegps.svg"/>
    <property name="plugin.link" value="https://wiki.openstreetmap.org/index.php/JOSM/Plugins/LiveGPS"/>
    <property name="plugin.stage" value="50"/>

    <!-- ** include targets that all plugins have in common ** -->
    <import file="../build-common.xml"/>

    <target name="checkstyle" depends="checkstyle-compile">
        <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties">
            <classpath refid="checkstyle.classpath"/>
            <classpath path="${checkstyle-build.dir}"/>
        </taskdef>
        <checkstyle config="checkstyle-config.xml">
            <fileset dir="${basedir}/src" includes="**/*.java" />
            <formatter type="xml" toFile="checkstyle-josm-${ant.project.name}.xml"/>
        </checkstyle>
    </target>

</project>
