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

MainConfigurationSetup

class MainConfigurationSetup

Configure the given Configuration as the main one:

Parameters

project - the project to which the configuration belongs

configuration - the main configuration

Constructors

<init>

MainConfigurationSetup(project: Project, mainSourceSet: SourceSet)

Configure the given Configuration as the main one:

Properties

mainConfiguration

val mainConfiguration: Configuration!

mainSourceSet

val mainSourceSet: SourceSet

packIntoJarConfiguration

val packIntoJarConfiguration: Configuration!

project

val project: Project

the project to which the configuration belongs

requiredPluginConfiguration

val requiredPluginConfiguration: Configuration!

Functions

afterEvaluate

fun afterEvaluate(): Unit

This part is meant to be called inside of an Project.afterEvaluate block. It adds the dependencies to JOSM and required JOSM plugins to the correct configurations