Package su.onno.ui

Class OnnoBuildInfo

java.lang.Object
su.onno.ui.OnnoBuildInfo

public final class OnnoBuildInfo extends Object
The onno-framework version this build was produced from, baked into META-INF/onno-build.properties by the processResources step. Read once, statically, so it is cheap to consult.

Returns an empty string when the version is unknown — e.g. running from an IDE that skipped the Gradle resource-filtering, leaving the ${onnoVersion} token unsubstituted. Callers treat "unknown" as "can't compare", which keeps the update check from ever signalling a false positive.

  • Method Details

    • version

      public static String version()
      The framework version, or "" when it could not be determined.