-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Make it possible to support non-GitHub output formats
Detangles the GitHub-specific output rendering from the rest of the dependency-extraction infrastructure, making it possible to render the dependency-graph output in different formats. At this stage, this mechanism is only designed to support renderers that are developed within this project. In particular, the `DependencyGraphRenderer` interface is subject to change.
- Loading branch information
Showing
41 changed files
with
397 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
plugin/src/main/kotlin/org/gradle/dependencygraph/DependencyGraphRenderer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.gradle.dependencygraph | ||
|
||
import org.gradle.dependencygraph.model.BuildLayout | ||
import org.gradle.dependencygraph.model.ResolvedConfiguration | ||
import org.gradle.dependencygraph.util.PluginParameters | ||
import java.io.File | ||
|
||
interface DependencyGraphRenderer { | ||
fun outputDependencyGraph( | ||
pluginParameters: PluginParameters, | ||
buildLayout: BuildLayout, | ||
resolvedConfigurations: List<ResolvedConfiguration>, | ||
outputDirectory: File | ||
) | ||
} |
Oops, something went wrong.