diff --git a/android/app/build.gradle b/android/app/build.gradle index e7bfde0d2..f1187bfc4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -88,9 +88,8 @@ flutter { } repositories { - maven { - url "https://s3.amazonaws.com/repo.commonsware.com" - } + maven { url 'https://jitpack.io' } + maven { url "https://s3.amazonaws.com/repo.commonsware.com" } } dependencies { @@ -99,7 +98,11 @@ dependencies { implementation 'androidx.exifinterface:exifinterface:1.3.1' implementation 'com.commonsware.cwac:document:0.4.1' implementation 'com.drewnoakes:metadata-extractor:2.15.0' - implementation 'com.github.beyka:androidtiffbitmapfactory:0.9.8.7' + // as of v0.9.8.7, `Android-TiffBitmapFactory` master branch is set up to release and distribute via Bintray + // as of 20201113, its `q_support` branch allows decoding TIFF without a `File`, but is not released + // we forked it to bypass official releases, upgrading its Android/Gradle structure to make it compatible with JitPack + // JitPack build result is available at https://jitpack.io/com/github/deckerst/Android-TiffBitmapFactory/q_support-SNAPSHOT/build.log + implementation 'com.github.deckerst:Android-TiffBitmapFactory:0f1f0aaab1' implementation 'com.github.bumptech.glide:glide:4.11.0' kapt 'androidx.annotation:annotation:1.1.0'