在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ajoberstar/grgit开源软件地址:https://github.com/ajoberstar/grgit开源编程语言:Groovy 89.1%开源软件介绍:grgitProject NewsNewest versions are on Maven CentralAs of 4.1.1, grgit is published to Maven Central and the Gradle Plugin Portal. As of 5.0.0, this project is no longer directly published to the Gradle Plugin Portal, but since the portal proxies Maven Central you can still access it through the portal. The only side effect is that the portal will no longer list the latest version. Use this repo or search.maven.org to find the latest version. Old versions from Bintray/JCenterThis project was previously uploaded to JCenter, which was deprecated in 2021. In the event that JCenter is unavailable and acess to past versions (4.1.0 and earlier) is needed, I've made a Maven repo available in bintray-backup. Add the following to your repositories to use it. maven {
name = 'ajoberstar-backup'
url = 'https://ajoberstar.org/bintray-backup/'
} Made possible by lacasseio/bintray-helper in case you have a similar need to pull your old Bintray artifacts. 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. DocumentationNOTE: grgit is available from Maven Central or the Gradle Plugin Portal Simple Usage in GradleApply the NOTE: This plugin eagerly opens a Grgit instance, which may not be needed depending on the tasks you want to run. If this is not desired, see the next section.
More Performant Usage in GradleApply the This approach ensures you only open a
Custom Gradle PluginsIf you are writing a custom Gradle plugin, you'll want to use one or both of the following approaches:
Questions, Bugs, and FeaturesPlease use the repo's issues for all questions, bug reports, and feature requests. ContributingContributions 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. AcknowledgementsThanks to everyone who has contributed to the library. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论