VISTA (Version Increment and Semantic Tracking Automation) is a CLI Gradle plugin that automates project version management using a version.properties
file.
- Automated Version Management: Increment build numbers automatically.
- Semantic Versioning: Uses
VERSION_MAJOR
,VERSION_MINOR
,VERSION_PATCH
, andBUILD_NUMBER
fromversion.properties
. - CLI Integration: Run via Gradle tasks for easy version control.
- JDK 17 or later
- Gradle 8.11.1 or later
- Kotlin (configured via Gradle)
Apply the plugin in your Gradle build:
plugins {
id("com.example.vista.versioning") version "1.0.0"
}
Then run the version increment task:
./gradlew incrementVersion
- vista-plugin/: Contains the CLI Gradle plugin code and publishing configuration.
- version.properties: Holds the versioning information.
- gradle/, settings.gradle.kts, gradle.properties: Global project configuration files.