Package io.freefair.gradle.util
Class GitUtil
- java.lang.Object
-
- io.freefair.gradle.util.GitUtil
-
public final class GitUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
execute(Project project, java.lang.String... command)
static java.lang.String
getRef(Project project)
static java.lang.String
getSha(Project project)
static boolean
isCircleCi()
static boolean
isGithubActions()
static boolean
isJenkins()
static boolean
isTravisCi()
-
-
-
Method Detail
-
isTravisCi
public static boolean isTravisCi()
-
isCircleCi
public static boolean isCircleCi()
-
isGithubActions
public static boolean isGithubActions()
-
isJenkins
public static boolean isJenkins()
-
getSha
public static java.lang.String getSha(Project project)
-
getRef
public static java.lang.String getRef(Project project)
-
execute
public static java.lang.String execute(Project project, java.lang.String... command)
-
-