<?xml version="1.0" encoding="utf-8"?>
<project name="MicrosoftStreetside" default="dist" basedir=".">

	<!-- Configure these properties (replace "..." accordingly).
	         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
	     -->
	<!-- enter the SVN commit message -->
	<property name="commit.message" value="Commit message" />
	<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
	<property name="plugin.main.version" value="14183" />

	<property name="plugin.author" value="renerr18" />
	<property name="plugin.class" value="org.openstreetmap.josm.plugins.streetside.StreetsidePlugin" />
	<property name="plugin.description" value="View high resolution Microsoft Streetside 360 degree imagery in JOSM." />
	<property name="plugin.icon" value="images/streetside-logo-white.png" />
	<property name="plugin.link" value="https://github.com/spatialdev/MicrosoftStreetside"/>
	<property name="plugin.requires" value="apache-commons;apache-http;openjfx"/>

	<property name="plugin.canloadatruntime" value="true"/>

	<!-- edit the properties of this plugin in the file `gradle.properties` -->
	<property file="${basedir}/gradle.properties"/>

	<property name="josm" location="../../core/dist/josm-custom.jar"/>
	<property name="plugin.dist.dir" value="../../dist"/>

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

	<fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
		<include name="apache-commons.jar"/>
		<include name="apache-http.jar"/>
		<include name="utilsplugin2.jar"/>
		<include name="openjfx.jar"/>
	</fileset>

	<target name="pre-compile" depends="fetch_dependencies">
		<!-- include fetch_dependencies task -->
	</target>

	<target name="install-plugin" depends="clean, dist, install">
		<echo>Installed Microsoft Streetside plugin</echo>
	</target>

	<target name="test-run" depends="install-plugin, runjosm">
	</target>
</project>
