OverShotDependency

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

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.

Since

0.12.0

Constructors

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

Properties

Link copied to clipboard

the McProject declaring the dependency

Link copied to clipboard
Link copied to clipboard

the ConfiguredDependency which adds the unused dependency

Functions

Link copied to clipboard

Converts the OverShotDependency to an OverShotDependencyFinding.