ExternalDependencyDeclaration

fun ExternalDependencyDeclaration(configName: ConfigurationName, declarationText: String, statementWithSurroundingText: String, suppressed: List<String> = emptyList(), group: String?, moduleName: String, version: String?, coordinates: MavenCoordinates = MavenCoordinates(group, moduleName, version)): ExternalDependencyDeclaration(source)

Creates an instance of ExternalDependencyDeclaration with the given arguments.

Return

An instance of ExternalDependencyDeclaration.

Parameters

configName

The name of the configuration this dependency belongs to.

declarationText

The text representation of this declaration.

statementWithSurroundingText

The declaration statement along with its surrounding context.

suppressed

A list of suppressed warnings, empty by default.

group

The group of the external dependency.

moduleName

The name of the module in the external dependency.

version

The version of the external dependency.

coordinates

The MavenCoordinates for the external dependency, computed from the group, module name and version.