Feature release adding opt-in support of SSH via external ssh
or plink
commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#529463 causing your program to hang. Hope is that this will be fixed in JGit's next release.
Additionally, a Consumer
variant was added to all operations to make Java usage of Grgit easier.
grgit.add({ op ->
op.setPatterns(Arrays.asList("."));
});
Changes since beta.1 The consumer variants were generated with the incorrect generic types making them unusable. This is fixed now.
Breaking Changes
None
Enhancements
- #206 Support external SSH commands as an alternative to JSch
- Support
Consumer
as an alternative toClosure
orMap
syntax on all operations
Fixes
None
Deprecations
None
Compatibility
Tested on the following version:
Java Version | Gradle Versions |
---|---|
8 | 3.0 through 4.7-rc-2 |
9 | 4.2.1. through 4.7-rc-2 |
10 | 4.2.1 through 4.7-rc-2 |