Git is immensely popular and being able to interact with it as part of a build process can be very valuable to provide a more powerful and consistent result.
gradle-git is a set of Gradle plugins:
org.ajoberstar.grgit
- provides aGrgit
instance, allowing interaction with the Git repository the Gradle project is contained inorg.ajoberstar.github-pages
- publishes files to thegh-pages
branch of a Github repositoryorg.ajoberstar.release-base
- general structure for inferring a project version and releasing itorg.ajoberstar.release-opinion
- opinionated defaults fororg.ajoberstar.release-base
See Grgit for details on the Git library used underneath, including configuration for authentication.
NOTE: gradle-git modules require Java 7 (or higher).
Please use the repo's issues for all questions, bug reports, and feature requests.
Contributions are very welcome and are accepted through pull requests.
Smaller changes can come directly as a PR, but larger or more complex ones should be discussed in an issue first to flesh out the approach.
If you're interested in implementing a feature on the issues backlog, add a comment to make sure it's not already in progress and for any needed discussion.
Thanks to all of the contributors.
Credit goes to Peter Ledbrook for the initial
idea for the org.ajoberstar.github-pages
plugin.
Thanks to Zafar Khaja for the very helpful java-semver library.