gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.io / JosmPluginListParser

JosmPluginListParser

class JosmPluginListParser

Reads a plugin info file like it is found at https//josm.openstreetmap.de/plugin or https//josm.openstreetmap.de/pluginicons or like it's generated by GeneratePluginList.

The file is immediately read on construction, the found plugins can then be retrieved by accessing plugins, any errors that occured while parsing can be retrieved by accessing errors. If there are no parsing errors, errors will be an empty list.

Constructors

<init>

JosmPluginListParser(project: Project, withIcons: Boolean = false)

Reads a plugin info file like it is found at https//josm.openstreetmap.de/plugin or https//josm.openstreetmap.de/pluginicons or like it's generated by GeneratePluginList.

Properties

errors

val errors: List<String>

plugins

val plugins: List<PluginInfo>

project

val project: Project

withIcons

val withIcons: Boolean

Companion Object Properties

MANIFEST_LINE_REGEX

val MANIFEST_LINE_REGEX: Regex

TITLE_LINE_REGEX

val TITLE_LINE_REGEX: Regex