saker.build Documentation TaskDoc JavaDoc
public class Versions
Utility class holding version information about the current version of the build system.

Some constants declared in this class are final, but they are not final in the API release JAR. Meaning, that users can use them in if conditions and compare them against constant values without worrying about dead code elimination. Make sure to use the API release JAR in your classpath when compiling classes against the build system runtime.

Fields
public static final String
The full version of the saker.rmi library that is included under the saker.build.thirdparty package string in the format of <major>.<minor>.<patch>
public static final int
A compound version representation of the saker.rmi library that is included under the saker.build.thirdparty package.
public static final int
The major version of the saker.rmi library that is included under the saker.build.thirdparty package.
public static final int
The minor version of the saker.rmi library that is included under the saker.build.thirdparty package.
public static final int
The patch version of the saker.rmi library that is included under the saker.build.thirdparty package.
public static final String
The full version of the saker.util library that is included under the saker.build.thirdparty package string in the format of <major>.<minor>.<patch>
public static final int
A compound version representation of the saker.util library that is included under the saker.build.thirdparty package.
public static final int
The major version of the saker.util library that is included under the saker.build.thirdparty package.
public static final int
The minor version of the saker.util library that is included under the saker.build.thirdparty package.
public static final int
The patch version of the saker.util library that is included under the saker.build.thirdparty package.
public static final int
A compound version representation of the saker.build system release.
public static final int
The major version of the saker.build system release.
public static final int
The minor version of the saker.build system release.
public static final int
The patch version of the saker.build system release.
public static final String
The full version string in the format of <major>.<minor>.<patch>
public static final String THIRDPARTY_SAKER_RMI_VERSION_FULL = "0.8.1"
The full version of the saker.rmi library that is included under the saker.build.thirdparty package string in the format of <major>.<minor>.<patch>
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_RMI_VERSION_FULL_COMPOUND = 8001
A compound version representation of the saker.rmi library that is included under the saker.build.thirdparty package.

The field has the value of THIRDPARTY_SAKER_RMI_VERSION_MAJOR * 1_000_000 + THIRDPARTY_SAKER_RMI_VERSION_MINOR * 1_000 + THIRDPARTY_SAKER_RMI_VERSION_PATCH.

It can be easily used in conditional statements to query the runtime for available features.

 if (Versions.THIRDPARTY_SAKER_RMI_VERSION_FULL_COMPOUND >= 8_001) {
 	// use features from 0.8.1
 } else if (Versions.THIRDPARTY_SAKER_RMI_VERSION_FULL_COMPOUND >= 1_000_000) {
 	// use features from 1.0.0
 }
 
Note that you shouldn't start your version numbers with the number 0, as that represents an octal number.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_RMI_VERSION_MAJOR = 0
The major version of the saker.rmi library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_RMI_VERSION_MINOR = 8
The minor version of the saker.rmi library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_RMI_VERSION_PATCH = 1
The patch version of the saker.rmi library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final String THIRDPARTY_SAKER_UTIL_VERSION_FULL = "0.8.1"
The full version of the saker.util library that is included under the saker.build.thirdparty package string in the format of <major>.<minor>.<patch>
public static final int THIRDPARTY_SAKER_UTIL_VERSION_FULL_COMPOUND = 8001
A compound version representation of the saker.util library that is included under the saker.build.thirdparty package.

The field has the value of THIRDPARTY_SAKER_UTIL_VERSION_MAJOR * 1_000_000 + THIRDPARTY_SAKER_UTIL_VERSION_MINOR * 1_000 + THIRDPARTY_SAKER_UTIL_VERSION_PATCH.

It can be easily used in conditional statements to query the runtime for available features.

 if (Versions.THIRDPARTY_SAKER_UTIL_VERSION_FULL_COMPOUND >= 8_001) {
 	// use features from 0.8.1
 } else if (Versions.THIRDPARTY_SAKER_UTIL_VERSION_FULL_COMPOUND >= 1_000_000) {
 	// use features from 1.0.0
 }
 
Note that you shouldn't start your version numbers with the number 0, as that represents an octal number.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_UTIL_VERSION_MAJOR = 0
The major version of the saker.util library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_UTIL_VERSION_MINOR = 8
The minor version of the saker.util library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final int THIRDPARTY_SAKER_UTIL_VERSION_PATCH = 1
The patch version of the saker.util library that is included under the saker.build.thirdparty package.
saker.build 0.8.1
public static final int VERSION_FULL_COMPOUND = 8009
A compound version representation of the saker.build system release.

The field has the value of VERSION_MAJOR * 1_000_000 + VERSION_MINOR * 1_000 + VERSION_PATCH.

It can be easily used in conditional statements to query the runtime for available features.

 if (Versions.VERSION_FULL_COMPOUND >= 8_001) {
 	// use features from 0.8.1
 } else if (Versions.VERSION_FULL_COMPOUND >= 1_000_000) {
 	// use features from 1.0.0
 }
 
Note that you shouldn't start your version numbers with the number 0, as that represents an octal number.
saker.build 0.8.1
public static final int VERSION_MAJOR = 0
The major version of the saker.build system release.

The major version will change when there are backward incompatible changes between releases.

public static final int VERSION_MINOR = 8
The minor version of the saker.build system release.

The minor version changes when changes are made to the build system implementation, but they are backward compatible.

The minor version is also changed when features are deprecated but not yet removed from the implementation.

public static final int VERSION_PATCH = 9
The patch version of the saker.build system release.

The patch version changes when bugfixes are added to the implementation.

public static final String VERSION_STRING_FULL = "0.8.9"
The full version string in the format of <major>.<minor>.<patch>