Switch to coil from Glide (#423)

* initial coil switch

* more coil changes

* fix extensions icons

* remove last of glide

* adjust local manga to actually update the covers as soon as you set it.  Also adjusts the large cover and share

* edit custom covers of a manga is now immediately reflected

* fix edit covers submit not automatically submitting
fix edit covers choosing cover not showing the selection in dialog

* fix setting custom cover not reloading when going back

* get gif's working

* run ktlint
fix setting custom cover to updated when returning back to details

* fix non uniformed covers

* get images working on resumes

* add size to cover cache setting

* remove log statement

* remove set last cover date

* put covers into cache when refresh enabled

* fix comment
This commit is contained in:
Carlos 2020-05-16 23:35:16 -04:00 committed by GitHub
parent d99f4d1fac
commit 4d860c9396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 626 additions and 912 deletions

View file

@ -76,8 +76,8 @@ android {
}
compileOptions {
setSourceCompatibility(1.8)
setTargetCompatibility(1.8)
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
@ -141,6 +141,21 @@ dependencies {
debugImplementation ("com.github.ChuckerTeam.Chucker:library:$chuckerVersion")
releaseImplementation ("com.github.ChuckerTeam.Chucker:library-no-op:$chuckerVersion")
//hyperion
val hyperionVersion = "0.9.27"
debugImplementation("com.willowtreeapps.hyperion:hyperion-core:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-timber:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-core:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-attr:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-build-config:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-crash:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-disk:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-geiger-counter:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-measurement:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-phoenix:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-recorder:$hyperionVersion")
debugImplementation("com.willowtreeapps.hyperion:hyperion-shared-preferences:$hyperionVersion")
// REST
val retrofitVersion = "2.7.2"
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
@ -184,10 +199,10 @@ dependencies {
implementation("com.github.inorichi.injekt:injekt-core:65b0440")
// Image library
val glideVersion = "4.11.0"
implementation("com.github.bumptech.glide:glide:$glideVersion")
implementation("com.github.bumptech.glide:okhttp3-integration:$glideVersion")
kapt("com.github.bumptech.glide:compiler:$glideVersion")
val coilVersion = "0.10.1"
implementation("io.coil-kt:coil:$coilVersion")
implementation("io.coil-kt:coil-gif:$coilVersion")
implementation("io.coil-kt:coil-svg:$coilVersion")
// Logging
implementation("com.jakewharton.timber:timber:4.7.1")