api / org.gradle.api.artifacts / Dependency / contentEquals

contentEquals

abstract fun contentEquals(dependency: Dependency): Boolean

Returns whether two dependencies have identical values for their properties. A dependency is an entity with a key. Therefore dependencies might be equal and yet have different properties.

Parameters

dependency - The dependency to compare this dependency with