grgit

The Groovy way to use Git.

License

License

GroupId

GroupId

org.ajoberstar
ArtifactId

ArtifactId

grgit
Last Version

Last Version

1.8.0-rc.1
Release Date

Release Date

Type

Type

jar
Description

Description

grgit
The Groovy way to use Git.
Project URL

Project URL

https://github.com/ajoberstar/grgit
Source Code Management

Source Code Management

https://github.com/ajoberstar/grgit

Download grgit

How to add to project

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

Dependencies

runtime (9)

Group / Artifact Type Version
org.eclipse.jgit : org.eclipse.jgit jar 4.5.0.201609210915-r
org.eclipse.jgit : org.eclipse.jgit.ui jar 4.5.0.201609210915-r
com.jcraft : jsch.agentproxy.jsch jar 0.0.9
com.jcraft : jsch.agentproxy.pageant jar 0.0.9
com.jcraft : jsch.agentproxy.sshagent jar 0.0.9
com.jcraft : jsch.agentproxy.usocket-jna jar 0.0.9
com.jcraft : jsch.agentproxy.usocket-nc jar 0.0.9
com.jcraft : jsch jar 0.1.54
org.slf4j : slf4j-api jar 1.7.21

Project Modules

There are no modules declared in this project.

grgit

Download Build

Why do you care?

JGit provides a powerful Java API for interacting with Git repositories. However, in a Groovy context it feels very cumbersome, making it harder to express the operations you want to perform without being surrounded by a lot of cruft.

What is it?

Grgit is a wrapper over JGit that provides a fluent API for interacting with Git repositories in Groovy-based tooling.

"porcelain" commands are the primary scope of what is included. Features that require more user interaction (such as resolving merge conflicts) are intentionally excluded.

It also provides a Gradle plugin to easily get a Grgit instance for the build's repository.

Documentation

NOTE: grgit is available from JCenter or the Gradle Plugin Portal. It is not published to Maven Central.

Questions, Bugs, and Features

Please use the repo's issues for all questions, bug reports, and feature requests.

Contributing

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.

Acknowledgements

Thanks to everyone who has contributed to the library.

Versions

Version
1.8.0-rc.1
1.7.3-rc.1
1.7.2
1.7.1
1.7.1-rc.1
1.7.0
1.7.0-rc.2
1.7.0-rc.1
1.6.0
1.6.0-rc.1
1.5.1-rc.1
1.5.0
1.5.0-rc.1
1.4.1
1.4.1-rc.1
1.4.0
1.4.0-rc.2
1.4.0-rc.1
1.3.0
1.3.0-milestone.3
1.3.0-milestone.2
1.3.0-milestone.1
1.2.0
1.2.0-rc.1
1.1.0
1.1.0-rc.1
1.1.0-milestone.1
1.0.0
1.0.0-rc.2
1.0.0-rc.1
1.0.0-milestone.2
1.0.0-milestone.1
0.4.1
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
0.2.2-beta
0.2.1
0.2.0