summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-08-13 12:21:09 +0200
committerGitHub <noreply@github.com>2020-08-13 15:51:09 +0530
commit5032696cec9da86c2ad97b9931e8d85feb18da0c (patch)
tree00710329057efb914d03e6f49228350ae0f83a6f
parenta1f3d118c99397502377b604419c2cb3c3fb821e (diff)
Add symlink support to JGit (#1016)
* Add symlink support to JGit * Fix a typo Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/build.gradle.kts3
-rw-r--r--buildSrc/src/main/java/Dependencies.kt1
2 files changed, 4 insertions, 0 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index d814e992..618190d1 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -44,6 +44,7 @@ android {
exclude("**/*.version")
exclude("**/*.txt")
exclude("**/*.kotlin_module")
+ exclude("**/plugin.properties")
}
buildTypes {
@@ -117,6 +118,8 @@ dependencies {
implementation(Dependencies.ThirdParty.jgit) {
exclude(group = "org.apache.httpcomponents", module = "httpclient")
}
+ // Loaded dynamically by JGit to provide symlink support
+ implementation(Dependencies.ThirdParty.jgit_java7)
implementation(Dependencies.ThirdParty.jsch)
implementation(Dependencies.ThirdParty.sshj)
implementation(Dependencies.ThirdParty.bouncycastle)
diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt
index 08e4eae2..f8432a7d 100644
--- a/buildSrc/src/main/java/Dependencies.kt
+++ b/buildSrc/src/main/java/Dependencies.kt
@@ -53,6 +53,7 @@ object Dependencies {
const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.4"
const val jsch = "com.jcraft:jsch:0.1.55"
const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
+ const val jgit_java7 = "org.eclipse.jgit:org.eclipse.jgit.java7:3.7.1.201504261725-r"
const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.4"
const val plumber = "com.squareup.leakcanary:plumber-android:2.4"
const val sshj = "com.hierynomus:sshj:0.29.0"