gradle

package
v1.7.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() base.Inspector

Types

type DepElement

type DepElement struct {
	GroupId    string       `json:"group_id"`
	ArtifactId string       `json:"artifact_id"`
	Version    string       `json:"version"`
	Children   []DepElement `json:"children,omitempty"`
}

func (DepElement) CompName

func (d DepElement) CompName() string

type GradleDependencyInfo

type GradleDependencyInfo struct {
	ProjectName  string       `json:"project_name"`
	Dependencies []DepElement `json:"dependencies,omitempty"`
}

func (*GradleDependencyInfo) BaseModule

func (g *GradleDependencyInfo) BaseModule(path string) model.Module

type GradleInfo

type GradleInfo struct {
	Executable string
	Version    string
	Revision   string
	CallCmd    func(ctx context.Context, args ...string) *exec.Cmd
}

func (*GradleInfo) String

func (g *GradleInfo) String() string

type Inspector

type Inspector struct{}

func (*Inspector) CheckDir

func (i *Inspector) CheckDir(dir string) bool

func (*Inspector) InspectProject

func (i *Inspector) InspectProject(ctx context.Context) error

func (*Inspector) String

func (i *Inspector) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL