{"action":"closed","issue":{"url":"https://api.github.com/repos/matsim-org/josm-matsim-plugin/issues/32","labels_url":"https://api.github.com/repos/matsim-org/josm-matsim-plugin/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/matsim-org/josm-matsim-plugin/issues/32/comments","events_url":"https://api.github.com/repos/matsim-org/josm-matsim-plugin/issues/32/events","html_url":"https://github.com/matsim-org/josm-matsim-plugin/issues/32","id":113204198,"number":32,"title":"Use GeoTools JOSM plugin instead of embedding class files","user":{"login":"don-vip","id":596867,"avatar_url":"https://avatars.githubusercontent.com/u/596867?v=3","gravatar_id":"","url":"https://api.github.com/users/don-vip","html_url":"https://github.com/don-vip","followers_url":"https://api.github.com/users/don-vip/followers","following_url":"https://api.github.com/users/don-vip/following{/other_user}","gists_url":"https://api.github.com/users/don-vip/gists{/gist_id}","starred_url":"https://api.github.com/users/don-vip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/don-vip/subscriptions","organizations_url":"https://api.github.com/users/don-vip/orgs","repos_url":"https://api.github.com/users/don-vip/repos","events_url":"https://api.github.com/users/don-vip/events{/privacy}","received_events_url":"https://api.github.com/users/don-vip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-25T03:27:06Z","updated_at":"2015-10-28T15:18:33Z","closed_at":"2015-10-28T15:18:33Z","body":"Hi,\r\nWhen several plugins use the same library we ask to plugin authors to not embed those libraries in the plugin jar, but to depend on an external plugin.\r\nThat's particularly the case for Geotools, which is used by a lot of plugins.\r\nI am not familiar with Gradle so I won't be able to make a PR, but can you please see how to do that ?\r\nThe idea is to fetch the geotools.jar from OSM SVN during compilation and to add the directive Plugin-Requires: geotools in Manifest.\r\n\r\nSee examples there: \r\nhttps://github.com/kendzi/TombPlugin/pull/16\r\nhttps://github.com/GeoKnow/OSMRec/issues/3\r\n\r\nThanks,\r\nVincent"}}