Documentation ¶
Index ¶
- func Cmd(dir string) (string, error)
- type Dependency
- type Gradle
- func (g *Gradle) Dependencies(project, configuration string) ([]Dependency, map[Dependency][]Dependency, error)
- func (g *Gradle) DependenciesTask(taskArgs ...string) ([]Dependency, map[Dependency][]Dependency, 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 ¶
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 (g *Gradle) Dependencies(project, configuration string) ([]Dependency, map[Dependency][]Dependency, error)
func (*Gradle) DependenciesTask ¶
func (g *Gradle) DependenciesTask(taskArgs ...string) ([]Dependency, map[Dependency][]Dependency, error)
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.