| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
git-commit-id-gradle-plugin is a plugin quite similar to git-commit-id-maven-plugin but for gradle! For those who don't know the plugin, it basically helps you with the following tasks and answers related questions
The plugin unreleased!
To make use of the plugin you must apply the plugin in your build.gradle as mentioned in the gradle documentation:
plugins {
id 'java'
id 'io.github.git-commit-id.git-commit-id-gradle-plugin'
}or if you want to use a specific version of the plugin via:
plugins {
id 'java'
id 'io.github.git-commit-id.git-commit-id-gradle-plugin' version 'MAJOR.MINOR.PATCH'
}This plugin follows the Semantic Versioning that roughly can be summarized as a version number MAJOR.MINOR.PATCH, increment the:
This plugin comes with a sensible set of default of configurations and settings. However, there might be cases where a default doesn't fit your project needs. Gradle allows user to configure with Modeling DSL-like APIs. Perhaps one additional item you need to know about configuration is that the plugin makes use of gradle's Lazy Configuration which is gradle's way to manage growing build complexity.
In short the plugin can be configured by adding a block like this to your build.gradle:
gitCommitId {
skip.set(false)
}Refer to GitCommitIdPluginExtension for all available settings and in-depth explanations of what the individual configurations are there for.
The current version is unreleased
This project requires at least java 11 and will rely on gradle's convention for configuration. You also will need at least a gradle 5.3* installation to be able to use this plugin.
In case you are interested here are more details about the specifics for the version requirements:
This project is currently maintained thanks to: @TheSnoozer
this plugin is released under the GNU Lesser General Public License 3.0.
You're free to use it as you wish, the full license text is attached in the LICENSE file.
The best way to ask for features / improvements is via the Issues section on GitHub
| Back | FazBrowse Home | New Git URL |