open class JosmPluginExtension
This extension is added to the project as project.josm
JosmPluginExtension(project: Project)
instantiates the extension, takes project properties into account |
var debugPort: Int?
This is required, when you want to run the task |
|
val github: GithubConfig
Configuration options for GitHub releases |
|
val gitlab: GitlabConfig
Configuration options for GitLab repositories for your project |
|
val i18n: I18nConfig
Configuration options for i18n |
|
var josmCompileVersion: String?
The version number of JOSM against which the plugin should be compiled. |
|
var josmConfigDir: File
The directory where the default |
|
var josmVersionFuzziness: Int
This determines how many JOSM versions are tried out before giving up when a JOSM version is specified that can't be downloaded through the download page. |
|
var logJacocoCoverage: Boolean
Iff this is |
|
var logSkippedTasks: Boolean
Iff this is |
|
var logTaskDuration: Boolean
Iff this is |
|
val manifest: JosmManifest
The manifest for the JOSM plugin |
|
var maxPluginDependencyDepth: Int
When determining on which JOSM plugins this project depends, dependency chains are followed this number of steps. This number is the termination criterion when recursively searching for JOSM plugins that are required through JosmManifest.pluginDependencies. |
|
var packIntoJarFileFilter: (PatternFilterable) -> PatternFilterable
When packing the dependencies of the |
|
val project: Project |
|
var publishRepositories: (RepositoryHandler) -> Unit
Repositories to which the artifacts can be published. GitLab package repositories can be added via org.openstreetmap.josm.gradle.plugin.gitlab.gitlabRepository |
|
var repositories: (RepositoryHandler) -> Unit
The repositories that are added to the repository list. |
|
var tmpJosmCacheDir: File
The directory in which the JOSM cache for the JOSM instance used by |
|
var tmpJosmPrefDir: File
The directory in which the JOSM preferences for the JOSM instance used by |
|
var tmpJosmUserdataDir: File
The directory in which the JOSM user data for the JOSM instance used by |
|
var versionWithoutLeadingV: Boolean
Determines if the leading 'v' character is trimmed from the beginning of Project.getVersion |
fun github(c: Closure<GithubConfig>): Any
Configure the field JosmPluginExtension.github using a Groovy Closure. fun github(a: Action<GithubConfig>): Unit
Configure the field JosmPluginExtension.github using an Action. |
|
fun gitlab(c: Closure<GitlabConfig>): Any
Configure the field JosmPluginExtension.gitlab using a Groovy Closure fun gitlab(a: Action<GitlabConfig>): Unit
Configure the field JosmPluginExtension.gitlab using an Action |
|
fun i18n(c: Closure<I18nConfig>): Unit
Configure the field JosmPluginExtension.i18n using a Groovy Closure. fun i18n(a: Action<I18nConfig>): Unit
Configure the field JosmPluginExtension.i18n using an Action. |
|
fun manifest(c: Closure<JosmManifest>): Unit
Configure the field manifest using a Groovy Closure. fun manifest(a: Action<JosmManifest>): Unit
|
|
fun packIntoJarFileFilter(closure: Closure<PatternFilterable>): Unit
Set the packIntoJarFileFilter with a Groovy Closure |
|
fun repositories(closure: Closure<RepositoryHandler>): Unit
Set the repositories with a Groovy Closure (replaces any previous setting). |
|
fun useSeparateTmpJosmDirs(): Boolean |