Ignore:
Timestamp:
2015-12-01T23:08:30+01:00 (11 years ago)
Author:
floscher
Message:

[mapillary] Move plugin-properties to a single file

To avoid having two places for setting project-wide properties, these are now set in the new file gradle.properties and picked up both by Ant and Gradle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/build.gradle

    r31782 r31783  
    107107  from configurations.packIntoJar.collect { it.isDirectory() ? it : zipTree(it) }
    108108  manifest {
    109     attributes("Plugin-Mainversion": "8433",
     109    attributes("Plugin-Mainversion": project.property('plugin.main.version'),
    110110               "Plugin-Version": "31395",
    111                "Plugin-Class": "org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin",
    112                "Plugin-Description": "Enables user to work with pictures hosted at mapillary.com",
     111               "Plugin-Class": project.property('plugin.class'),
     112               "Plugin-Description": project.property('plugin.description'),
    113113               "Plugin-Date": String.format("%1\$tY-%1\$tm-%1\$tdT%1\$tH:%1\$tM:%1\$tS%1\$tz", new GregorianCalendar()),
    114                "Author": "nokutu <nokutu@openmailbox.org>",
    115                "Plugin-Link": "https://wiki.openstreetmap.org/wiki/JOSM/Plugins/Mapillary",
    116                "Plugin-Icon": "images/icon24.png",
    117                "Plugin-Requires": "commons-imaging",
    118                "Plugin-Canloadatruntime": "true")
     114               "Author": project.property('plugin.author'),
     115               "Plugin-Link": project.property('plugin.link'),
     116               "Plugin-Icon": project.property("plugin.icon"),
     117               "Plugin-Requires": project.property("plugin.requires"),
     118               "Plugin-Canloadatruntime": project.property('plugin.canloadatruntime'))
    119119  }
    120120}
Note: See TracChangeset for help on using the changeset viewer.