Help us shape the future of Go! Take the 2026 Go Developer Survey

gradle

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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

func (*Inspector) SupportFeature added in v1.9.2

func (i *Inspector) SupportFeature(feature base.Feature) bool

Jump to

Keyboard shortcuts

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