Yokan / rebuild
Course 1 8624561

Pinned dependency and external-artifact checklist

7 min readSnapshot 8624561Markdown

These values come from the inspected checkout, not a live package registry. Recreate the module placement in the linked build files; a dependency listed here is not automatically a commonMain dependency.

Root version catalogue

Key Version
agp 9.4.1
kotlin 2.4.21
compose 1.12.2
composeMaterial3 1.9.0
composeMaterialIcons 1.7.3
coroutines 1.11.0
serialization 1.12.0
datetime 0.8.0
ktor 3.6.0
okhttp 5.5.1
coil 3.6.3
activityCompose 1.13.0
zipline 1.28.0
work 2.12.0
kmpMpv 0.1.0-SNAPSHOT
composeWebviewMultiplatform 2.0.3
androidxWebkit 1.18.0
lifecycle 2.11.0
navigationevent 1.1.0
materialkolor 4.0.5
ksp 2.3.12
room 2.8.5
sqlite 2.7.1
kotlinxBrowser 0.5.0
cryptography 0.6.0
javafx 21.0.13
onnxruntime 1.31.0
onnxruntimeIntelMac 1.22.0
avif 0.1.0
yokanExt 0.1.0-SNAPSHOT

Library coordinates

Alias Coordinate Version source
kotlinx-coroutines-core org.jetbrains.kotlinx:kotlinx-coroutines-core {'ref': 'coroutines'}
kotlinx-coroutines-test org.jetbrains.kotlinx:kotlinx-coroutines-test {'ref': 'coroutines'}
kotlinx-coroutines-swing org.jetbrains.kotlinx:kotlinx-coroutines-swing {'ref': 'coroutines'}
kotlinx-coroutines-android org.jetbrains.kotlinx:kotlinx-coroutines-android {'ref': 'coroutines'}
kotlinx-serialization-json org.jetbrains.kotlinx:kotlinx-serialization-json {'ref': 'serialization'}
kotlinx-datetime org.jetbrains.kotlinx:kotlinx-datetime {'ref': 'datetime'}
kotlinx-browser org.jetbrains.kotlinx:kotlinx-browser {'ref': 'kotlinxBrowser'}
cryptography-core dev.whyoleg.cryptography:cryptography-core {'ref': 'cryptography'}
cryptography-provider-optimal dev.whyoleg.cryptography:cryptography-provider-optimal {'ref': 'cryptography'}
ktor-client-core io.ktor:ktor-client-core {'ref': 'ktor'}
ktor-client-websockets io.ktor:ktor-client-websockets {'ref': 'ktor'}
ktor-client-okhttp io.ktor:ktor-client-okhttp {'ref': 'ktor'}
okhttp com.squareup.okhttp3:okhttp {'ref': 'okhttp'}
okhttp-bom com.squareup.okhttp3:okhttp-bom {'ref': 'okhttp'}
ktor-client-darwin io.ktor:ktor-client-darwin {'ref': 'ktor'}
ktor-client-js io.ktor:ktor-client-js {'ref': 'ktor'}
ktor-client-mock io.ktor:ktor-client-mock {'ref': 'ktor'}
ktor-client-content-negotiation io.ktor:ktor-client-content-negotiation {'ref': 'ktor'}
ktor-serialization-kotlinx-json io.ktor:ktor-serialization-kotlinx-json {'ref': 'ktor'}
coil-compose io.coil-kt.coil3:coil-compose {'ref': 'coil'}
coil-network-ktor3 io.coil-kt.coil3:coil-network-ktor3 {'ref': 'coil'}
androidx-activity-compose androidx.activity:activity-compose {'ref': 'activityCompose'}
androidx-work-runtime-ktx androidx.work:work-runtime-ktx {'ref': 'work'}
androidx-webkit androidx.webkit:webkit {'ref': 'androidxWebkit'}
zipline app.cash.zipline:zipline {'ref': 'zipline'}
zipline-kotlin-plugin app.cash.zipline:zipline-kotlin-plugin {'ref': 'zipline'}
kmp-mpv io.github.kmpmpv:kmp-mpv {'ref': 'kmpMpv'}
compose-webview-multiplatform io.github.kevinnzou:compose-webview-multiplatform {'ref': 'composeWebviewMultiplatform'}
compose-runtime org.jetbrains.compose.runtime:runtime {'ref': 'compose'}
compose-foundation org.jetbrains.compose.foundation:foundation {'ref': 'compose'}
compose-material3 org.jetbrains.compose.material3:material3 {'ref': 'composeMaterial3'}
compose-material-icons-extended org.jetbrains.compose.material:material-icons-extended {'ref': 'composeMaterialIcons'}
compose-components-resources org.jetbrains.compose.components:components-resources {'ref': 'compose'}
navigationevent-compose org.jetbrains.androidx.navigationevent:navigationevent-compose {'ref': 'navigationevent'}
yokan-ext eu.friedcutlet.yokan:yokan-ext {'ref': 'yokanExt'}
onnxruntime-jvm com.microsoft.onnxruntime:onnxruntime {'ref': 'onnxruntime'}
onnxruntime-android com.microsoft.onnxruntime:onnxruntime-android {'ref': 'onnxruntime'}
avif org.glavo:avif {'ref': 'avif'}
javafx-base org.openjfx:javafx-base {'ref': 'javafx'}
javafx-graphics org.openjfx:javafx-graphics {'ref': 'javafx'}
javafx-controls org.openjfx:javafx-controls {'ref': 'javafx'}
javafx-swing org.openjfx:javafx-swing {'ref': 'javafx'}
javafx-web org.openjfx:javafx-web {'ref': 'javafx'}
javafx-media org.openjfx:javafx-media {'ref': 'javafx'}
androidx-lifecycle-viewmodel org.jetbrains.androidx.lifecycle:lifecycle-viewmodel {'ref': 'lifecycle'}
androidx-lifecycle-viewmodel-compose org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose {'ref': 'lifecycle'}
androidx-lifecycle-runtime-compose org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose {'ref': 'lifecycle'}
materialkolor com.materialkolor:material-kolor {'ref': 'materialkolor'}
room-runtime androidx.room:room-runtime {'ref': 'room'}
room-compiler androidx.room:room-compiler {'ref': 'room'}
sqlite-bundled androidx.sqlite:sqlite-bundled {'ref': 'sqlite'}

Build ownership

build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

settings.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

23: ivy("https://nodejs.org/dist") {
33: ivy("https://github.com/yarnpkg/yarn/releases/download") {
43: ivy("https://github.com/WebAssembly/binaryen/releases/download") {
55: include(":composeApp")
56: include(":androidApp")
58: includeBuild("vendor/kmp-mpv") {
65: includeBuild("vendor/yokan-ext") {
72: include(":media-compat")
73: project(":media-compat").projectDir = file("vendor/compose-mediaplayer")

composeApp/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

50: val generateYokanVersion = tasks.register("generateYokanVersion") {
64: tasks.register("printYokanVersion") {
95: val onnxRuntimeSlim = tasks.register<Jar>("onnxRuntimeSlim") {
110: schemaDirectory("$projectDir/schemas")
150: compileSdk = 37
151: minSdk = 26
153: jvmTarget.set(JvmTarget.JVM_17)
174: target.compilations.getByName("main").cinterops.create("embeddedMihon") {
178: target.compilations.getByName("main").cinterops.create("panelColorizer") {
204: implementation(libs.compose.runtime)
205: implementation(libs.compose.foundation)
206: implementation(libs.compose.material3)
207: implementation(libs.compose.material.icons.extended)
208: implementation(libs.compose.components.resources)
212: implementation(libs.navigationevent.compose)
213: implementation(libs.coil.compose)
214: implementation(libs.coil.network.ktor3)
215: implementation(libs.kotlinx.coroutines.core)
216: implementation(libs.kotlinx.serialization.json)
217: implementation(libs.kotlinx.datetime)
218: implementation(libs.cryptography.core)
219: implementation(libs.cryptography.provider.optimal)
220: implementation(libs.ktor.client.core)
221: implementation(libs.ktor.client.websockets)
222: implementation(libs.ktor.client.content.negotiation)
223: implementation(libs.ktor.serialization.kotlinx.json)
224: implementation(libs.androidx.lifecycle.viewmodel)
225: implementation(libs.androidx.lifecycle.viewmodel.compose)
226: implementation(libs.androidx.lifecycle.runtime.compose)
227: implementation(project(":media-compat"))
228: implementation(libs.materialkolor)
229: implementation(libs.yokan.ext)
238: implementation(libs.kmp.mpv)
242: implementation(libs.room.runtime)
243: implementation(libs.sqlite.bundled)
244: implementation(libs.zipline)
250: implementation(libs.compose.webview.multiplatform)
259: implementation(project.dependencies.platform(libs.okhttp.bom))
260: implementation(libs.ktor.client.okhttp)
261: implementation(libs.okhttp)
267: implementation(libs.onnxruntime.android)
268: implementation(libs.androidx.activity.compose)
269: implementation(libs.androidx.work.runtime.ktx)
271: implementation(libs.androidx.webkit)
272: implementation(libs.kotlinx.coroutines.android)
278: implementation(kotlin("test"))
286: implementation(libs.avif)
287: implementation(files(onnxRuntimeSlim))
288: implementation(compose.desktop.currentOs)
289: implementation(libs.kotlinx.coroutines.swing)
296: .forEach { implementation(project.dependencies.variantOf(it) { classifier(javafxPlatform) }) }
301: implementation(libs.ktor.client.darwin)
306: implementation(libs.ktor.client.js)
307: implementation(libs.kotlinx.browser)
313: implementation(kotlin("test"))
314: implementation(libs.kotlinx.coroutines.test)
315: implementation(libs.ktor.client.mock)
456: include("**/ic_torii_*.xml", "**/ic_launcher*", "values/app_icon_colors.xml")

androidApp/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

12: compileSdk = 37
16: minSdk = 26
17: targetSdk = 36
35: // Native libs ship uncompressed (minSdk >= 23), so each ABI adds ~40 MB of
55: implementation(project(":composeApp"))

vendor/kmp-mpv/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

vendor/kmp-mpv/kmp-mpv/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

17: val prepareMediaKitDesktopMpv = tasks.register("prepareMediaKitDesktopMpv") {
27: fun download(url: String, fileName: String, sha256: String): File {
34: if (destination.isFile && checksum(destination) == sha256) return destination
41: check(actual == sha256) {
42: "SHA-256 mismatch for $fileName: expected $sha256, got $actual"
58: "https://github.com/Schnitzel5/libmpv-darwin-build/releases/download/develop/" +
101: "https://github.com/Schnitzel5/mpv-winbuild-cmake/releases/download/20250727/" +
122: writeText("media-kit uses the distribution-provided libmpv on Linux.\n")
135: jvmToolchain(21)
142: jvmTarget.set(JvmTarget.JVM_11)
148: compileSdk = 36
149: minSdk = 24
152: jvmTarget.set(JvmTarget.JVM_11)
163: target.compilations.getByName("main").cinterops.create("mpvDynamic") {
175: api(libs.kotlinx.coroutines.core)
178: implementation(libs.kotlin.test)
179: implementation(libs.kotlinx.coroutines.test)
182: implementation(libs.jna)
186: implementation(libs.kotlin.test)
189: api(project(":android-bridge"))
216: url.set("https://github.com/kmp-mpv/kmp-mpv")
220: url.set("https://opensource.org/license/mit")

vendor/kmp-mpv/android-bridge/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

14: val sha256: String,
20: "https://github.com/Schnitzel5/libmpv-android-video-build/releases/download/0.39.0/default-arm64-v8a.jar",
25: "https://github.com/Schnitzel5/libmpv-android-video-build/releases/download/0.39.0/default-armeabi-v7a.jar",
30: "https://github.com/Schnitzel5/libmpv-android-video-build/releases/download/0.39.0/default-x86_64.jar",
35: "https://github.com/Schnitzel5/libmpv-android-video-build/releases/download/0.39.0/default-x86.jar",
45: val fetchMediaKitAndroidMpv = tasks.register("fetchMediaKitAndroidMpv") {
59: if (destination.isFile && checksum(destination) == artifact.sha256) return@forEach
67: check(actual == artifact.sha256) {
68: "SHA-256 mismatch for ${artifact.abi}: expected ${artifact.sha256}, got $actual"
83: api(bundledMediaKitAndroidMpv)
88: compileSdk = 36
93: minSdk = 24

vendor/yokan-ext/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

19: compileSdk = 37
20: minSdk = 26
21: compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
29: target.compilations.getByName("main").cinterops.create("JvmBridge") {
37: implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")
38: implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.12.0")
41: implementation("com.squareup.okio:okio:3.18.2")
42: implementation("io.ktor:ktor-client-core:3.6.0")
43: implementation("io.ktor:ktor-client-darwin:3.6.0")
46: implementation(kotlin("test"))
47: implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.11.0")
50: implementation("io.reactivex:rxjava:1.3.8")
51: implementation("io.reactivex:rxandroid:1.2.1")
52: implementation("uy.kohesive.injekt:injekt-core:1.16.1")
53: implementation("com.squareup.okhttp3:logging-interceptor:5.5.1")
54: implementation("com.squareup.okhttp3:okhttp:5.5.1")
55: implementation("com.squareup.okio:okio:3.18.2")
56: implementation("com.squareup.okhttp3:okhttp-brotli:5.5.1")
57: implementation("androidx.core:core-ktx:1.19.1")
58: implementation("androidx.preference:preference-ktx:1.2.1")
59: implementation("org.jsoup:jsoup:1.23.2")
60: implementation("org.nanohttpd:nanohttpd:2.3.1")
61: implementation("com.fasterxml.jackson.core:jackson-databind:2.22.4")
62: implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.22.4")

vendor/compose-mediaplayer/build.gradle.kts

Declaration/read-point checklist; multiline task bodies remain in the linked source.

14: compileSdk = 37
15: minSdk = 21
24: implementation(libs.compose.runtime)
25: implementation(libs.compose.foundation)
26: implementation(libs.kotlinx.coroutines.core)
27: api("io.github.vinceglb:filekit-core:0.16.0")
28: implementation(libs.kotlinx.datetime)
29: implementation("co.touchlab:kermit:2.2.0")
32: implementation(kotlin("test"))
33: implementation(libs.kotlinx.coroutines.test)
36: implementation("io.github.kdroidfilter:androidcontextprovider:1.0.1")
37: implementation(libs.kotlinx.coroutines.android)
38: implementation("androidx.media3:media3-exoplayer:1.11.1")
39: implementation("androidx.media3:media3-ui:1.11.1")
40: implementation(libs.androidx.activity.compose)
43: implementation(libs.kotlinx.coroutines.swing)
44: implementation("org.freedesktop.gstreamer:gst1-java-core:1.4.0")
45: implementation("net.java.dev.jna:jna-jpms:5.19.1")
46: implementation("net.java.dev.jna:jna-platform-jpms:5.19.1")
47: implementation("org.slf4j:slf4j-simple:2.0.20")
49: wasmJsMain.dependencies { implementation(libs.kotlinx.browser) }
54: compilerOptions.jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)

External components outside this source tree

  • libmpv and its native dependency frameworks/libraries: consume the pinned artifacts in kmp-mpv build/preparation scripts; the wrapper and bridges are implemented here, the libmpv engine is not.
  • ComposeMediaPlayer native desktop binaries: retained from the pinned published v0.7.11 artifact; local fork covers Kotlin/ownership code.
  • Downloaded Mihon extension server JAR/JVM and iOS Zero/OpenJDK runtime: lifecycle/installer/bridge code is here; the full external server and VM sources are not.
  • ONNX Runtime and colorization model artifacts: host integration/session/queue code is here; retain the expected model interface and external runtime.
  • FFmpeg and whisper.cpp/model for desktop media processing: supplied external executables/models, managed by the processor.
  • Hub/Together, SyncYomi, Google Drive, trackers, metadata providers, translation endpoints and source websites: client implementations are here; server implementations/accounts are separate.
  • Gradle/Kotlin/Android/Xcode/Node/Yarn/Binaryen and platform SDKs: build toolchain, not application code to rewrite.

Search chapters, reference and source filenames.