gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.task.gitlab / ReleaseToGitlab

ReleaseToGitlab

open class ReleaseToGitlab : DefaultTask, Runnable

Creates a Gitlab release from an already existing package in the Gitlab maven repository

Parameters

version - a function that returns the version number that should be released (e.g. 1.2.3)

names - a list of package names (e.g. org/openstreetmap/josm/gradle-josm-plugin)

Constructors

<init>

ReleaseToGitlab(gitTagName: () -> String, artifactVersion: () -> String, names: Set<String>)

Creates a Gitlab release from an already existing package in the Gitlab maven repository

Properties

artifactVersion

var artifactVersion: () -> String

gitlabSettings

val gitlabSettings: GitlabRepositorySettings.Builder

the settings defining a specific project on a specific GitLab instance where the release will be created

gitTagName

var gitTagName: () -> String

names

var names: Set<String>

a list of package names (e.g. org/openstreetmap/josm/gradle-josm-plugin)

Functions

run

open fun run(): Unit