component-build-plugin / com.intershop.gradle.component.build.utils / DependencyConfig

DependencyConfig

data class DependencyConfig

This class provides a class of a module dependency for the component extension. The default value of all properties is "".

Parameters

group - group or organization of a dependency

module - name or module of a dependency

version - version of the dependency

dependency - string representation if dependency is not module dependency

transitive - if dependency should or was transitive resolved

Constructors

<init>

DependencyConfig(group: String = "", module: String = "", version: String = "", dependency: String = "", transitive: Boolean = false)

provides an empty dependency configuration.

Properties

dependency

val dependency: String

string representation if dependency is not module dependency

group

val group: String

group or organization of a dependency

module

val module: String

name or module of a dependency

transitive

val transitive: Boolean

if dependency should or was transitive resolved

version

val version: String

version of the dependency

Functions

getExcludeProperties

fun getExcludeProperties(): Map<String, String>

Returns a map of properties for the Gradle exclude configuration.

getModuleString

fun getModuleString(): String

Returns the module string of the dependency.

isEmptyConfig

fun isEmptyConfig(): Boolean

Returns true if the dependency information is empty.