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

Package org.openstreetmap.josm.gradle.plugin

The main plugin class JosmPlugin and some extensions for org.gradle.api.Project.

In Java the extensions can be accessed via ProjectKt, in Kotlin via the org.gradle.api.Project object.

Types

Describer

interface Describer

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

GitDescriber

class GitDescriber : Describer

Uses jGit to describe the current HEAD of a git repository

JosmPlugin

class JosmPlugin : Plugin<Project>

Main class of the plugin, sets up the custom configurations requiredPlugin and packIntoJar, the additional repositories and the custom tasks.

MainConfigurationSetup

class MainConfigurationSetup

Configure the given Configuration as the main one:

SvnDescriber

class SvnDescriber : Describer

Use the command svn info to determine the SVN revision.

Extensions for External Classes

org.gradle.api.execution.TaskExecutionGraph

org.gradle.api.Project

org.gradle.api.tasks.SourceSet

org.gradle.testing.jacoco.tasks.JacocoReport