DependencyEdge

constructor(from: String, to: String, configuration: String, sourceSet: String? = null, declarationLine: Int? = null, reason: String? = null, adrUrl: String? = null)(source)

Parameters

from

Source module Gradle path, e.g. ":feature:login:data".

to

Target module Gradle path, e.g. ":core:domain".

configuration

Gradle configuration name: "implementation", "api", "testImplementation", "commonMainImplementation", etc.

sourceSet

For KMP modules: the source set that owns this dependency, e.g. "commonMain", "androidMain". Null for standard Android/JVM configurations.

declarationLine

Approximate 1-based line number of this dependency declaration in the source module's build file. Populated by scanning the build file during extraction. Null when the file was not scanned or the line could not be located. Used in violation messages to point developers directly to the line to remove.

reason

Human-readable explanation of why this dependency exists. Displayed in the HTML report as an edge annotation and in violation messages. Null when no explanation has been provided.

adrUrl

URL to an Architecture Decision Record (ADR) that justifies this dependency. Rendered as a link in the HTML report so reviewers can navigate to the decision. Null when no ADR URL has been provided.