Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wyatt-herkamp/versionfile

Generates a Properties file to give version details about the jar.
https://github.com/wyatt-herkamp/versionfile

gradle plugin

Last synced: about 2 months ago
JSON representation

Generates a Properties file to give version details about the jar.

Awesome Lists containing this project

README

        

# VersionFile
Generates a Properties file to give details about jar version.

## Properties inside the file
* SRC Hash
* Git Commit Hash
* Git Branch
* Full Version(The Actual Version)
* Build Date/Time(UNIX TIME)

## How to use?
### Kotlin DLS
```kotlin
//Plugin
id("org.kakara.versionfile") version "1.0-SNAPSHOT"
//Having it run
tasks {
"jar"{
dependsOn(project.tasks.getByName("vftask"));
}
}
//Config
versionFileConfig {
isCompileIntoJar = true;
}
```