Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wyatt-herkamp/versionfile
- Owner: wyatt-herkamp
- License: mit
- Created: 2021-01-20T01:58:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T10:59:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T11:27:37.709Z (3 months ago)
- Topics: gradle, plugin
- Language: Kotlin
- Homepage:
- Size: 109 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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;
}
```