gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.config / JosmManifest / <init>

<init>

JosmManifest(project: Project)

The info that will be written into the manifest file of the plugin *.jar

Most of the attributes are corresponding to the ones listed in the documentation for developing JOSM plugins. But note that some of them have been renamed a bit to better express what each attribute is good for.

The properties used by the Ant build (e.g. plugin.author or plugin.description) are automatically picked up by both Ant and Gradle, if you define them in your gradle.properties file and load them into your build.xml file using the following snippet:

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

The detailed documentation for each field below tells you, which one corresponds to which Ant/Gradle property and to which attribute in the MANIFEST.MF file.

For a successful build you'll have to at least set the following properties in this class: mainClass, description, minJosmVersion Your project also has to set a value for Project.getVersion