CycleBreakSuggestion

constructor(from: String, to: String, configuration: String, buildFilePath: String? = null, declarationLine: Int? = null, cycleSize: Int)(source)

Parameters

from

Source module of the edge to remove (the module whose build file you edit).

to

Target module the dependency points at.

configuration

The Gradle configuration the edge was declared on, e.g. "implementation".

buildFilePath

Relative path to from's build file, e.g. "feature/login/data/build.gradle.kts". Null when it could not be resolved.

declarationLine

1-based line of the declaration in buildFilePath, when known; else null.

cycleSize

Number of modules in the cycle (strongly connected component) this edge breaks.