Package edu.sc.seis.seedCodec
Class BuildVersion
java.lang.Object
edu.sc.seis.seedCodec.BuildVersion
Simple class for storing the version derived from the gradle build.gradle file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDate()
returns the date this file was generated, usually the last date that the project was modified.static String
static String
returns the git date when this file was generated, usually the last git revision when the project was modified.static String
returns the git revision when this file was generated, usually the last git revision when the project was modified.static String
returns the git sha when this file was generated, usually the last git revision when the project was modified.static String
returns the short git sha when this file was generated, usually the last git revision when the project was modified.static String
getGroup()
returns the group of the project from the gradle build.gradle file.static String
getName()
returns the name of the project from the gradle build.gradle file.static String
returns the version of the project from the gradle build.gradle file.static String
-
Constructor Details
-
BuildVersion
public BuildVersion()
-
-
Method Details
-
getVersion
returns the version of the project from the gradle build.gradle file. -
getName
returns the name of the project from the gradle build.gradle file. -
getGroup
returns the group of the project from the gradle build.gradle file. -
getDate
returns the date this file was generated, usually the last date that the project was modified. -
getGitRevision
returns the git revision when this file was generated, usually the last git revision when the project was modified. -
getGitShortSha
returns the short git sha when this file was generated, usually the last git revision when the project was modified. -
getGitSha
returns the git sha when this file was generated, usually the last git revision when the project was modified. -
getGitDate
returns the git date when this file was generated, usually the last git revision when the project was modified. -
getDetailedVersion
-
getVersionAsJSON
-