e5d2fa24a1
Phone now self-provisions after a glasses reboot: BLE enableWirelessAdb -> glasses start wireless adb -> address back over BLE -> adb connect -> Shizuku started + accessibility/media grants applied. Verified on device 16:22 (glasses rebooted, adb_wifi_enabled=0, nothing activated over USB).
70 lines
4.2 KiB
TOML
70 lines
4.2 KiB
TOML
[versions]
|
|
kotlin = "2.4.20"
|
|
agp = "9.4.1"
|
|
coroutines = "1.11.0"
|
|
kotlinxSerialization = "1.11.0"
|
|
ktor = "3.6.0"
|
|
lifecycle = "2.11.0"
|
|
activityCompose = "1.11.0"
|
|
composeBom = "2026.09.00"
|
|
shizukuApi = "13.1.5"
|
|
shizukuProvider = "13.1.5"
|
|
navCompose = "2.10.2"
|
|
mercury = "0.1.1-SNAPSHOT"
|
|
mercuryTransport = "0.1.1-SNAPSHOT"
|
|
mercuryBinocular = "0.1.0-SNAPSHOT"
|
|
mercuryShizuku = "0.1.0-SNAPSHOT"
|
|
|
|
[libraries]
|
|
# kotlinx
|
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
|
|
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
|
|
|
|
# Ktor (используется в :shared для тестов и в качестве API для клиента)
|
|
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
|
|
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
|
|
ktor-client-websockets = { module = "io.ktor:ktor-client-websockets", version.ref = "ktor" }
|
|
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
|
|
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
|
|
|
|
# AndroidX
|
|
androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
|
|
androidx-lifecycle-service = { module = "androidx.lifecycle:lifecycle-service", version.ref = "lifecycle" }
|
|
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
|
|
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
|
|
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
|
|
androidx-compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
|
|
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
|
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
|
androidx-compose-material-icons = { module = "androidx.compose.material:material-icons-extended" }
|
|
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navCompose" }
|
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.15.0" }
|
|
|
|
# Shizuku
|
|
shizuku-api = { module = "dev.rikka.shizuku:api", version.ref = "shizukuApi" }
|
|
shizuku-provider = { module = "dev.rikka.shizuku:provider", version.ref = "shizukuProvider" }
|
|
|
|
# rayneo-mercury (библиотеки)
|
|
mercury-library = { module = "pw.binom.mercury:rayneo-mercury", version.ref = "mercury" }
|
|
mercury-transport = { module = "pw.binom.mercury:rayneo-mercury-transport", version.ref = "mercuryTransport" }
|
|
mercury-binocular = { module = "pw.binom.mercury:rayneo-mercury-binocular-renderer", version.ref = "mercuryBinocular" }
|
|
mercury-shizuku = { module = "pw.binom.mercury:rayneo-mercury-shizuku-vd", version.ref = "mercuryShizuku" }
|
|
|
|
# Test
|
|
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version = "5.11.4" }
|
|
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version = "5.11.4" }
|
|
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version = "1.11.4" }
|
|
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
|
|
mockk = { module = "io.mockk:mockk", version = "1.13.16" }
|
|
turbine = { module = "app.cash.turbine:turbine", version = "1.2.0" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|