https://github.com/johnsonlee/buildprops-gradle-plugin
Gradle plugin for Build.java generating
https://github.com/johnsonlee/buildprops-gradle-plugin
Last synced: 10 months ago
JSON representation
Gradle plugin for Build.java generating
- Host: GitHub
- URL: https://github.com/johnsonlee/buildprops-gradle-plugin
- Owner: johnsonlee
- License: apache-2.0
- Created: 2020-01-21T02:12:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-09T06:10:51.000Z (almost 4 years ago)
- Last Synced: 2025-04-15T18:58:23.118Z (about 1 year ago)
- Language: Kotlin
- Size: 84 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
`buildprops-gradle-plugin` is used to generate `Build.java` source file with following constant fields:
- `GROUP_ID`
- `ARTIFACT_ID`
- `VERSION`
- `REVISION`
It not only support Java project, but also support Kotlin and Groovy project or mixin language project.
# Getting Started
Enable `buildprops-gradle-plugin` by configuring `build.gradle`
```kotlin
plugins {
id("io.johnsonlee.buildprops") version "1.2.0"
}
```
Then build your porject to generate `Build.java` file, and then, the `Build` class will be accessible in your project