gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.github / ReleaseSpec

ReleaseSpec

open class ReleaseSpec

A release specification maintained in the local releases.yml file

Parameters

label - the release label, e.g. 1.2.3

minJosmVersion - the lowest JOSM version this release is compatible with

description - a description for the plugin release (optional)

name - a name for the release. If omitted, null or blank, it's set to "Release label".

Constructors

<init>

ReleaseSpec(label: String, minJosmVersion: Int, description: String? = null, name: String? = null)

A release specification maintained in the local releases.yml file

Properties

description

val description: String?

a description for the plugin release (optional)

label

val label: String

the release label, e.g. 1.2.3

minJosmVersion

val minJosmVersion: Int

the lowest JOSM version this release is compatible with

name

val name: String

An optional name for the release. Used as a "headline" for the description. Defaults to "Release label", if missing.

Companion Object Functions

loadListFrom

fun loadListFrom(stream: InputStream): List<ReleaseSpec>

Load the YAML configuration of the releases