Plugin

Build Version

Plugin ID
com.helixframework.build-version
Plugin Type
Project

Derives build metadata from project.version and exposes it through a small extension that other Helix plugins can consume.

  • Recognizes prerelease tags such as snapshot, alpha, beta, rc, dev, and internal.
  • Distinguishes internal versus release builds from the version string.

Usage

build.gradle

Groovy DSL

plugins {
    id 'com.helixframework.build-version'
}

build.gradle.kts

Kotlin DSL

plugins {
    id("com.helixframework.build-version")
}

Configuration

The plugin exposes the buildVersion extension.

Read-only extension populated when the plugin is applied.

  • isInternal (boolean, default: derived): True when the current project version contains a recognized prerelease or internal tag.
  • preReleaseTag (String, default: derived or null): The matched prerelease fragment from project.version, such as snapshot, beta.1, rc1, or internal1.