public final class BuildVersion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUILD_COMPILE_NUM_FILE |
static java.lang.String |
BUILD_VERSION_DATE |
static java.lang.String |
VERSION_FILE |
Constructor and Description |
---|
BuildVersion() |
Modifier and Type | Method and Description |
---|---|
static int |
getBuild() |
static int |
getCompile()
Get the compile increment each time tests are run from gradle
The values is store in the JAR resource
When the getVersionText changes, this value becomes zero
The actual value gets written from tests in gradle
|
static int |
getMajor() |
static java.lang.String |
getMinimumCompatibilityVersion()
Gets the text to display minimum compatibility between device and plugin
|
static int |
getMinor() |
static java.lang.String |
getVersionBuildText()
Gets the complete version and compile version text
|
static java.lang.String |
getVersionText()
Get The version info as a string
|
public static java.lang.String BUILD_COMPILE_NUM_FILE
public static java.lang.String BUILD_VERSION_DATE
public static java.lang.String VERSION_FILE
public static int getMajor()
public static int getMinor()
public static int getBuild()
public static java.lang.String getMinimumCompatibilityVersion()
public static java.lang.String getVersionBuildText()
public static java.lang.String getVersionText()
public static int getCompile()