Package io.micronaut.core.version
Class VersionUtils
java.lang.Object
io.micronaut.core.version.VersionUtils
Utility methods for versioning.
- Since:
- 1.0
- Author:
- graemerocher, Iván Lopez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAtLeastMicronautVersion
(String requiredVersion) Return whether the current version of Micronaut is at least the given version using semantic rules.
-
Field Details
-
MICRONAUT_VERSION
The current version of Micronaut.
-
-
Constructor Details
-
VersionUtils
public VersionUtils()
-
-
Method Details
-
isAtLeastMicronautVersion
Return whether the current version of Micronaut is at least the given version using semantic rules.- Parameters:
requiredVersion
- The required version- Returns:
- True if it is
-
getMicronautVersion
-