Kotlin Wrapper Library of JGit
EPL-2.0 License
KGit is Kotlin Wrapper Library of JGit.
7.0.0.202409031743-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.1.0'
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.github.sya-ri:kgit:1.1.0")
}
Run the gradle task to check the code format.
gradle lintKotlin
<type>: <subject>