java

package
v0.2.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 10 Imported by: 0

README

Java

Documentation

Index

Constants

View Source
const GradleCommandPrefix = `java "-Dorg.gradle.appname=gradlew" "-classpath" "gradle/wrapper/gradle-wrapper.jar" "org.gradle.wrapper.GradleWrapperMain"`

Variables

This section is empty.

Functions

func DetectJavaBuildSystem

func DetectJavaBuildSystem(projectDirectory string) string

DetectJavaBuildSystem returns the build system used in the project

func DetectJavaProject

func DetectJavaProject(projectDir string) bool

DetectJavaProject checks if the target directory is a java project

func GetJarManifestContent

func GetJarManifestContent(jarFile string) (string, error)

func IsJarExecutable

func IsJarExecutable(jarFile string) bool

func MavenWrapperSetup

func MavenWrapperSetup(projectDirectory string)

MavenWrapperSetup makes sure that the maven wrapper is setup correctly for a maven project

Types

type BuildActionStruct

type BuildActionStruct struct{}

Action implementation

func (BuildActionStruct) Check

Check if this package can handle the current environment

func (BuildActionStruct) Execute

func (action BuildActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (BuildActionStruct) GetDetails

GetDetails returns information about this action

type PublishActionStruct

type PublishActionStruct struct{}

Publish

func (PublishActionStruct) Check

Check if this package can handle the current environment

func (PublishActionStruct) Execute

func (action PublishActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (PublishActionStruct) GetDetails

GetDetails returns information about this action

type RunActionStruct

type RunActionStruct struct{}

Action implementation

func (RunActionStruct) Check

func (action RunActionStruct) Check(ctx api.ActionExecutionContext) bool

Check if this package can handle the current environment

func (RunActionStruct) Execute

func (action RunActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (RunActionStruct) GetDetails

GetDetails returns information about this action

type TestActionStruct

type TestActionStruct struct{}

Action implementation

func (TestActionStruct) Check

func (action TestActionStruct) Check(ctx api.ActionExecutionContext) bool

Check if this package can handle the current environment

func (TestActionStruct) Execute

func (action TestActionStruct) Execute(ctx api.ActionExecutionContext)

Check if this package can handle the current environment

func (TestActionStruct) GetDetails

GetDetails returns information about this action

Jump to

Keyboard shortcuts

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