component-installation-plugin / com.intershop.gradle.component.installation.utils.data / Dependency

Dependency

data class Dependency

Data class of dependency configuration.

Constructors

<init>

Dependency(group: String, module: String, version: String)

initialize a dependency object

Properties

group

val group: String

group or organization of the dependency

hasLatestPattern

val hasLatestPattern: Boolean

Returns true if the version contains a placeholder for latest versions.

hasLatestVersion

val hasLatestVersion: Boolean

Returns true if the version contains the placeholder for latest version overall.

hasVersionPattern

val hasVersionPattern: Boolean

Returns true if the version contains a placeholder for versions.

module

val module: String

module or name of the dependency

version

val version: String

version or revision of the dependency

versionPattern

val versionPattern: String

Get a version pattern from the configuration.

Functions

getDependencyString

fun getDependencyString(): String

Get the standard Gradle dependency string from dependency object.