Class KotlinVersion
java.lang.Object
org.axonframework.update.detection.KotlinVersion
Utility class to retrieve the current Kotlin version at runtime. It attempts to access the `kotlin.KotlinVersion`
class and invoke its `getCurrent` method. If the class or method is not found, it returns "none".
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KotlinVersion
public KotlinVersion()
-
-
Method Details
-
get
Returns the current Kotlin version as a string. If the Kotlin library is not present, it returns "none".- Returns:
- the current Kotlin version or "none" if not available
-