KGit is Kotlin Wrapper Library of JGit.
- Null Safety Methods
- Command Settings Available Using Lambda Function (No Method Chain)
- Support JGit features:
7.7.1.202607240634-r
val git: Git = Git.cloneRepository()
.setURI("https://github.com/sya-ri/KGit")
.setTimeout(60)
.setProgressMonitor(TextProgressMonitor())
.call()val git: KGit = KGit.cloneRepository {
setURI("https://github.com/sya-ri/KGit")
setTimeout(60)
setProgressMonitor(TextProgressMonitor())
}Tip
- KGit bundles
org.eclipse.jgit:org.eclipse.jgit. - Install the jgit extension library if necessary.
repositories {
mavenCentral()
}
dependencies {
implementation 'com.github.sya-ri:kgit:1.2.2'
}repositories {
mavenCentral()
}
dependencies {
implementation("com.github.sya-ri:kgit:1.2.2")
}- Releases: published versions and release notes.
- Kotlin wrappers: available commands and their source.
- Contributing: updating bundled JGit, validation, and commit conventions.