
* Refactor archive support with libarchive * Refactor archive support with libarchive * Revert string resource changs * Only mark archive formats as supported Comic book archives should not be compressed. * Fixup * Remove epub from archive format list * Move to mihon package * Format * Cleanup Co-authored-by: Shamicen <84282253+Shamicen@users.noreply.github.com> (cherry picked from commit 239c38982c4fd55d4d86b37fd9c3c51c3b47d098) * handle incorrect passwords * lint * fixed broken encryption detection + small tweaks * Add safeguard to prevent ArchiveInputStream from being closed twice (#967) * fix: Add safeguard to prevent ArchiveInputStream from being closed twice * detekt * lint: Make detekt happy --------- Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> (cherry picked from commit e620665dda9eb5cc39f09e6087ea4f60a3cbe150) * fixed ArchiveReaderMode CACHE_TO_DISK * Added some missing SY --> comments --------- Co-authored-by: FooIbar <118464521+fooibar@users.noreply.github.com> Co-authored-by: Ahmad Ansori Palembani <46041660+null2264@users.noreply.github.com>
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
plugins {
|
|
id("mihon.library")
|
|
kotlin("android")
|
|
kotlin("plugin.serialization")
|
|
id("com.github.ben-manes.versions")
|
|
}
|
|
|
|
android {
|
|
namespace = "eu.kanade.tachiyomi.core.common"
|
|
|
|
kotlinOptions {
|
|
freeCompilerArgs += listOf(
|
|
"-Xcontext-receivers",
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.i18n)
|
|
// SY -->
|
|
implementation(projects.i18nSy)
|
|
// SY <--
|
|
|
|
api(libs.logcat)
|
|
|
|
api(libs.rxjava)
|
|
|
|
api(libs.okhttp.core)
|
|
api(libs.okhttp.logging)
|
|
api(libs.okhttp.brotli)
|
|
api(libs.okhttp.dnsoverhttps)
|
|
api(libs.okio)
|
|
|
|
implementation(libs.image.decoder)
|
|
|
|
implementation(libs.unifile)
|
|
implementation(libs.libarchive)
|
|
|
|
api(kotlinx.coroutines.core)
|
|
api(kotlinx.serialization.json)
|
|
api(kotlinx.serialization.json.okio)
|
|
|
|
api(libs.preferencektx)
|
|
|
|
implementation(libs.jsoup)
|
|
|
|
// Sort
|
|
implementation(libs.natural.comparator)
|
|
|
|
// JavaScript engine
|
|
implementation(libs.bundles.js.engine)
|
|
|
|
testImplementation(libs.bundles.test)
|
|
|
|
// SY -->
|
|
implementation(sylibs.xlog)
|
|
implementation(libs.injekt.core)
|
|
implementation(sylibs.exifinterface)
|
|
// SY <--
|
|
}
|