versionDesc

fun KClass<*>.versionDesc(asJson: Boolean = false): String

Returns a description string containing version, release date, and build time from the Version annotation on this KClass.

Return

the version description string, or a default "Unknown" description if not annotated

Parameters

asJson

if true, returns JSON format; otherwise returns plain text