mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
* [#1496] First conversion attempt * [#1496] Configurable conversion * Fix: allow nested configs (map) * [#1496] Support explicit `none` conversion * Use MimeUtils for provided download * [1496] Support image conversion on load for downloaded images * Lint * [#1496] Support conversion on fresh download as well Previous commit was only for already downloaded images, now also for fresh and cached * [#1496] Refactor: Move where conversion for download happens * Rewrite config handling, improve custom types * Lint * Add format to pages mutation * Lint * Standardize url encode * Lint * Config: Allow additional conversion parameters * Implement conversion quality parameter * Lint * Implement a conversion util to allow fallback readers * Add downloadConversions to api and backup, fix updateValue issues * Lint * Minor cleanup * Update libs.versions.toml --------- Co-authored-by: Syer10 <syer10@users.noreply.github.com>
52 lines
1.1 KiB
Kotlin
52 lines
1.1 KiB
Kotlin
plugins {
|
|
id(
|
|
libs.plugins.kotlin.jvm
|
|
.get()
|
|
.pluginId,
|
|
)
|
|
id(
|
|
libs.plugins.kotlin.serialization
|
|
.get()
|
|
.pluginId,
|
|
)
|
|
id(
|
|
libs.plugins.ktlint
|
|
.get()
|
|
.pluginId,
|
|
)
|
|
}
|
|
|
|
dependencies {
|
|
// Shared
|
|
implementation(libs.bundles.shared)
|
|
testImplementation(libs.bundles.sharedTest)
|
|
|
|
// Android stub library
|
|
implementation(libs.android.stubs)
|
|
|
|
// XML
|
|
compileOnly(libs.xmlpull)
|
|
|
|
// Config API
|
|
implementation(projects.androidCompat.config)
|
|
|
|
// APK sig verifier
|
|
compileOnly(libs.apksig)
|
|
|
|
// AndroidX annotations
|
|
compileOnly(libs.android.annotations)
|
|
|
|
// substitute for duktape-android/quickjs
|
|
implementation(libs.bundles.polyglot)
|
|
|
|
// Kotlin wrapper around Java Preferences, makes certain things easier
|
|
implementation(libs.bundles.settings)
|
|
|
|
// Android version of SimpleDateFormat
|
|
implementation(libs.icu4j)
|
|
|
|
// OpenJDK lacks native JPEG encoder and native WEBP decoder
|
|
implementation(libs.bundles.twelvemonkeys)
|
|
implementation(libs.imageio.webp)
|
|
}
|