From 8f87c9ad32c9d5265dc35ce263eb66d569807f9d Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 7 Jan 2019 10:51:18 +0100 Subject: [PATCH] Android JGit: Update the version We want to use this specific version number as it is the only one that supports `git clone` on Android. The others use a hard-link while creating a lock file while trying to perform a 'git clone'. The Android Internal Storage does not support hard links, and therefore aborts. This will need to be fixed in the latest version of jgit. --- android/app/build.gradle | 2 +- android/build.gradle | 2 +- android/gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 2346b971..db08198a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -50,7 +50,7 @@ dependencies { androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' // https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit - implementation group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '4.5.4.201711221230-r' + implementation group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '4.4.1.201607150455-r' } configurations { diff --git a/android/build.gradle b/android/build.gradle index d4225c79..bb8a3038 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.1.2' + classpath 'com.android.tools.build:gradle:3.2.1' } } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 5b6d37d3..e9c9a6b3 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu May 24 14:30:51 CEST 2018 +#Sun Dec 30 15:54:27 CET 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip