Files
Yuriy PanovandClaude Opus 5.5 4c978efa80 Split the shared code into a core module
The Yandex Music client, the player, the app state and the stores move from the
TV app to :core (it.panov.musyx.*), so a phone app can build on them. The TV app
becomes :tv with the same application id. CoverHues, SessionPlayer and the
strings the state layer shows move with them; LRCLIB's user agent is set by
each app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 10:07:21 +06:00

37 lines
1.0 KiB
Kotlin

// What the TV and phone apps share: the Yandex Music client, the player, the app state and
// the stores. No UI beyond Compose runtime state.
plugins {
alias(libs.plugins.android.library)
// For stability inference on the models and state the UIs read.
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.serialization)
}
android {
namespace = "it.panov.musyx"
compileSdk = 37
defaultConfig {
minSdk = 23
consumerProguardFiles("consumer-rules.pro")
}
testOptions {
// PlayerCore logs through android.util.Log; JVM tests get no-op stubs.
unitTests.isReturnDefaultValues = true
}
}
dependencies {
implementation(libs.androidx.core.ktx)
api(platform(libs.compose.bom))
api(libs.compose.runtime)
api(libs.media3.exoplayer)
api(libs.media3.session)
implementation(libs.okhttp)
implementation(libs.kotlinx.serialization.json)
testImplementation(libs.junit)
testImplementation(libs.kotlinx.coroutines.test)
}