gradle

package
v6.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanEntryGradle                = "gradle"
	PlanEntryJVMApplicationPackage = "jvm-application-package"
	PlanEntryJDK                   = "jdk"
	PlanEntrySyft                  = "syft"
	PlanEntryYarn                  = "yarn"
	PlanEntryNode                  = "node"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationFactory

type ApplicationFactory interface {
	NewApplication(additionalMetadata map[string]interface{}, arguments []string, artifactResolver libbs.ArtifactResolver,
		cache libbs.Cache, command string, bom *libcnb.BOM, applicationPath string, bomScanner sbom.SBOMScanner) (libbs.Application, error)
}

type Build

type Build struct {
	Logger                bard.Logger
	ApplicationFactory    ApplicationFactory
	HomeDirectoryResolver HomeDirectoryResolver
}

func (Build) Build

func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)

type Detect

type Detect struct{}

func (Detect) Detect

func (Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)

type Distribution

type Distribution struct {
	LayerContributor libpak.DependencyLayerContributor
	Logger           bard.Logger
}

func (Distribution) Contribute

func (d Distribution) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Distribution) Name

func (d Distribution) Name() string

type HomeDirectoryResolver

type HomeDirectoryResolver interface {
	Location() (string, error)
}

type OSHomeDirectoryResolver

type OSHomeDirectoryResolver struct{}

func (OSHomeDirectoryResolver) Location

func (p OSHomeDirectoryResolver) Location() (string, error)

type PropertiesFile

type PropertiesFile struct {
	Binding    libcnb.Binding
	GradleHome string
}

func (PropertiesFile) Contribute

func (p PropertiesFile) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (PropertiesFile) Name

func (p PropertiesFile) Name() string

Jump to

Keyboard shortcuts

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