This release includes a number of breaking changes, with the main user highlight being the long awaited configuration cache support.
Breaking Changes
- Upgrade to JGit 6
- Drops support for Java 8 (due to JGit upgrade)
- Drops support for Gradle 4, 5, and 6
- Drops support for Groovy 2
org.ajoberstar.grgit
is no longer auto-applied to all subprojects, you must apply it to any project that wants to access thegrgit
property
Enhancements
- #322
--configuration-cache
is now supported (thanks @abelom and @runningcode) - #354 A new
org.ajoberstar.grgit-service
plugin is available to provide lazy access to aGrgitService
(a Gradle BuildService). See the README for tips on how to use this. - Adds
grgit.remote.remote(name: 'origin')
to remove remotes
Fixes
None
Deprecations
None
Compatibility
Tested on the following version:
Java Version | Gradle Versions |
---|---|
11 | 7.0.2, 7.3.3, 7.4-rc-2 |
17 | 7.3.3, 7.4-rc-2 |