Documentation ¶
Index ¶
- func Cmd(dir string) (string, error)
- func NormalizeDependencies(imports []Dependency, deps map[Dependency][]Dependency) graph.Deps
- type Dependency
- type Gradle
- func (g *Gradle) Dependencies(project string) (map[string]graph.Deps, error)
- func (g *Gradle) DependenciesTask(taskArgs ...string) (map[string]graph.Deps, error)
- func (g *Gradle) MergeProjectsDependencies(projects []string) (map[string]graph.Deps, error)
- func (g *Gradle) Projects() ([]string, error)
- func (g *Gradle) Run(taskArgs ...string) (string, error)
- type LineParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeDependencies ¶ added in v0.7.17
func NormalizeDependencies(imports []Dependency, deps map[Dependency][]Dependency) graph.Deps
Types ¶
type Dependency ¶
func ParseDependencies ¶
func ParseDependencies(stdout string) ([]Dependency, map[Dependency][]Dependency, error)
func ReadDependencyTree ¶
func ReadDependencyTree(lines []string, parser LineParser) ([]Dependency, map[Dependency][]Dependency, error)
type Gradle ¶
func (*Gradle) Dependencies ¶
func (*Gradle) DependenciesTask ¶
func (*Gradle) MergeProjectsDependencies ¶ added in v0.7.18
MergeProjectsDependecies creates a complete configuration to dep graph map by looping through a given list of projects and merging their dependencies by configuration.
type LineParser ¶
type LineParser func(line string) (level int, node Dependency, err error)
level is 1-indexed
Click to show internal directories.
Click to hide internal directories.