api / org.gradle.api.artifacts.maven / Conf2ScopeMapping

Conf2ScopeMapping

open class Conf2ScopeMapping

An immutable mapping to map a dependency configuration to a Maven scope. This class has implemented equality and hashcode based on its values not on object identity.

See Also
org.gradle.api.artifacts.maven.Conf2ScopeMappingContainer

Constructors

<init>

Conf2ScopeMapping(priority: Int, configuration: Configuration, scope: String)

Constructs a Conf2ScopeMapping.

Functions

equals

open fun equals(other: Any?): Boolean

getConfiguration

open fun getConfiguration(): Configuration

Returns the dependency configuration name.

getPriority

open fun getPriority(): Int

Returns the priority.

getScope

open fun getScope(): String

Returns the Maven scope name.

hashCode

open fun hashCode(): Int