gradle-git

Git plugins for Gradle.

License

License

Categories

Categories

Gradle Build Tools Git Development Tools Version Controls
GroupId

GroupId

org.ajoberstar
ArtifactId

ArtifactId

gradle-git
Last Version

Last Version

1.7.2
Release Date

Release Date

Type

Type

jar
Description

Description

gradle-git
Git plugins for Gradle.
Project URL

Project URL

https://github.com/ajoberstar/gradle-git
Source Code Management

Source Code Management

https://github.com/ajoberstar/gradle-git

Download gradle-git

How to add to project

<!-- https://jarcasting.com/artifacts/org.ajoberstar/gradle-git/ -->
<dependency>
    <groupId>org.ajoberstar</groupId>
    <artifactId>gradle-git</artifactId>
    <version>1.7.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.ajoberstar/gradle-git/
implementation 'org.ajoberstar:gradle-git:1.7.2'
// https://jarcasting.com/artifacts/org.ajoberstar/gradle-git/
implementation ("org.ajoberstar:gradle-git:1.7.2")
'org.ajoberstar:gradle-git:jar:1.7.2'
<dependency org="org.ajoberstar" name="gradle-git" rev="1.7.2">
  <artifact name="gradle-git" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.ajoberstar', module='gradle-git', version='1.7.2')
)
libraryDependencies += "org.ajoberstar" % "gradle-git" % "1.7.2"
[org.ajoberstar/gradle-git "1.7.2"]

Dependencies

runtime (2)

Group / Artifact Type Version
org.ajoberstar : grgit jar 1.9.3
com.github.zafarkhaja : java-semver jar 0.9.0

Project Modules

There are no modules declared in this project.

gradle-git

Bintray Travis GitHub license

Project Status

gradle-git has been around since 2012 and has evolved quite a bit from the original release. In order to continue to evolve these features, this project is being broken up into multiple repositories. As such:

  • gradle-git will no longer be maintained
feature replacement comments
org.ajoberstar.grgit grgit Grgit has been an independent project since 2013 and has been stable for quite a while. Version 2.0 removed some deprecated features, but otherwise is fully compatible with existing usage. It also integrates the org.ajoberstar.grgit plugin directly into the project.
org.ajoberstar.github-pages gradle-git-publish org.ajoberstar.git-publish is a more robust version of the old plugin. It is functionally equivalent (or better), but does require porting configuration over as noted in the README.
org.ajoberstar.release-* reckon Reckon focuses solely on determining your project version (and assisting with tagging and pushing that tag). It provides an opinionated model of how to apply semantic versioning, with more finite configuration options.
org.ajoberstar.release-* nebula-release If reckon doesn't suit your needs, nebula-release has forked the gradle-git release plugin and can serve as a replacement for this.

Why do you care?

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.

What is it?

gradle-git is a set of Gradle plugins:

  • org.ajoberstar.grgit - provides a Grgit instance, allowing interaction with the Git repository the Gradle project is contained in
  • org.ajoberstar.github-pages - publishes files to the gh-pages branch of a Github repository
  • org.ajoberstar.release-base - general structure for inferring a project version and releasing it
  • org.ajoberstar.release-opinion - opinionated defaults for org.ajoberstar.release-base

See Grgit for details on the Git library used underneath, including configuration for authentication.

Usage

NOTE: gradle-git modules require Java 7 (or higher).

Questions, Bugs, and Features

gradle-git is not maintained anymore. See the Project Status section above for details.

Contributing

gradle-git is not maintained anymore. See the Project Status section above for details.

Acknowledgements

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.

Versions

Version
1.7.2
1.6.0
1.6.0-rc.5
1.6.0-rc.4
1.6.0-rc.3
1.6.0-rc.2
1.6.0-rc.1
1.5.1
1.5.1-rc.3
1.5.1-rc.2
1.5.1-rc.1
1.5.0
1.5.0-rc.1
1.5.0-milestone.2
1.5.0-milestone.1
1.4.2
1.4.2-rc.1
1.4.1
1.4.0
1.4.0-rc.1
1.3.2
1.3.1
1.3.0
1.3.0-rc.2
1.3.0-rc.1
1.3.0-milestone.2
1.3.0-milestone.1
1.2.0
1.2.0-milestone.5
1.2.0-milestone.4
1.2.0-milestone.3
1.2.0-milestone.2
1.2.0-milestone.1
1.1.0
1.1.0-milestone.3
1.1.0-milestone.2
1.1.0-milestone.1
1.0.0
1.0.0-rc.1
0.13.0
0.13.0-milestone.1
0.12.0
0.11.2
0.11.1
0.11.0
0.11.0-rc.2+3c2e190
0.11.0-rc.1+1ff7dc5
0.11.0-milestone.2+0deeba0
0.11.0-milestone.1+7d44943
0.10.1
0.10.0
0.9.0
0.8.0
0.7.1
0.7.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0