gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin / Describer

Describer

interface Describer

Can describe the current state of a project directory with an identifier (e.g. version number or commit hash).

Functions

describe

abstract fun describe(dirty: Boolean = true, trimLeading: Boolean = false): String

Inheritors

GitDescriber

class GitDescriber : Describer

Uses jGit to describe the current HEAD of a git repository

SvnDescriber

class SvnDescriber : Describer

Use the command svn info to determine the SVN revision.