OverShotDependency

data class OverShotDependency(    val dependentProject: McProject,     val newDependency: ConfiguredDependency,     val oldDependency: ConfiguredDependency)

Represents a ConfiguredDependency which is unused in the SourceSet to which it's added, but is used in another source set downstream. For instance, a dependency is overshot if it's added to main, but only used in test.

Constructors

Link copied to clipboard
fun OverShotDependency(    dependentProject: McProject,     newDependency: ConfiguredDependency,     oldDependency: ConfiguredDependency)

Functions

Link copied to clipboard
fun toFinding(): OverShotDependencyFinding

Converts the OverShotDependency to an OverShotDependencyFinding.

Properties

Link copied to clipboard
val dependentProject: McProject

the McProject declaring the dependency

Link copied to clipboard
val newDependency: ConfiguredDependency

the ConfiguredDependency which should be added

Link copied to clipboard
val oldDependency: ConfiguredDependency

the ConfiguredDependency which adds the unused dependency

Sources

Link copied to clipboard