Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSingleArgumentFromFuntionCall ¶
GetSingleArgumentFromFuntionCall returns the single argument in a function call
Types ¶
type Gradle ¶
type Gradle struct { Repositories []GradleRepository `yaml:"repositories,omitempty" json:"repositories,omitempty"` Dependencies []GradleDependency `yaml:"dependencies,omitempty" json:"dependencies,omitempty"` Plugins []GradlePlugin `yaml:"plugins,omitempty" json:"plugins,omitempty"` Metadata map[string][]string `yaml:"metadata,omitempty" json:"metadata,omitempty"` Blocks map[string]Gradle `yaml:"blocks,omitempty" json:"blocks,omitempty"` }
Gradle stores parsed gradle
func ParseGardleBuildFile ¶
ParseGardleBuildFile parses a gradle build file
func (*Gradle) GetPluginIDs ¶
GetPluginIDs returns plugins
type GradleDependency ¶
type GradleDependency struct { GradleGAV Type string `yaml:"type" json:"type"` Excludes []map[string]string `yaml:"excludes,omitempty" json:"excludes,omitempty"` }
GradleDependency stores dependency
type GradleGAV ¶
type GradleGAV struct { Group string `yaml:"group" json:"group"` Name string `yaml:"name" json:"name"` Version string `yaml:"version" json:"version"` }
GradleGAV stores GAV
type GradleRepository ¶
type GradleRepository struct { Type string `yaml:"type" json:"type"` Data GradleRepositoryData `yaml:"data,omitempty" json:"data,omitempty"` }
GradleRepository stores repository
type GradleRepositoryData ¶
type GradleRepositoryData struct {
Name string `yaml:"name" json:"name"`
}
GradleRepositoryData stores respository data
Click to show internal directories.
Click to hide internal directories.