Skip to content

Gubaer/gradle-josm-plugin

 
 

Repository files navigation

Gradle plugin for developing JOSM plugins

This Gradle plugin is designed to make development of JOSM plugins easier.

Things like test driving your JOSM plugins before releasing them becomes as easy as typing ./gradlew runJosm into the command line and the gradle-josm-plugin automatically takes care of compiling the current state of your JOSM plugin, starting a clean (!) instance of JOSM with only your plugin loaded (and all required plugins, even transitive ones). You'll no longer need to keep a local copy of the JOSM source code in a compatible version and the other JOSM plugins!

See the docs below for many more things you can do. And you don't even need to abandon the Ant build, which is used for most of the JOSM plugins. Option 2 in the guide for setting up the gradle-josm-plugin explains how a JOSM plugin can support building with either build system (many configuration options can be shared between both).

If you miss something here, found something that's broken, or need more info about this project:

  • Feel free to open issues on this project!
  • Or you can reach out via email: contact-project+josm-gradle-josm-plugin-5042462-issue- (at) incoming.gitlab.com

Getting started

The plugin is available in the default Gradle plugin repository.

See docs/Setup.md for detailed setup instructions.

See docs/Tasks.md for information, from which tasks you can choose.

And if you need external dependencies for your plugin, maybe docs/Dependencies.md can help.

If you want to know how i18n works, have a look at docs/I18n.md.

In docs/Versioning.md it is described, how the version number of your plugin is determined and how you can increment it.

Also, the KDoc (similar to Javadoc, but for Kotlin) for this Gradle plugin is available online.

Projects using this Gradle plugin

Deprecated links

Alternatively to the default Gradle plugin repository, you can download this plugin from a Maven repository at https://josm.gitlab.io/gradle-josm-plugin/maven. That link gives a 404 HTTP status, but the repository is still there. The contents can be viewed at https://gitlab.com/JOSM/gradle-josm-plugin/tree/pages/maven .

Under https://plugins.gradle.org/plugin/org.openstreetmap.josm.gradle.plugin you can find the versions < v0.2.0 of the plugin. Later versions have the shorter plugin ID org.openstreetmap.josm.

About

A Gradle plugin for developing JOSM plugins (mirrored from GitLab)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 99.0%
  • Other 1.0%