mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
Android CI on main failed after v2.3.0 merged: DownloadStateStoreTest, ScreenshotTest and TvTest all died in MavenArtifactFetcher with an IOException. Robolectric downloads its Android runtime from Maven Central by itself while the tests run, outside Gradle, so one dropped connection fails every Robolectric test. The actions/cache meant to keep that jar never held anything: a run that fails on the download saves no cache. Gradle now downloads android-all-instrumented for API 34 like any other dependency, with its retries and the Gradle cache CI already restores, and the tests run with robolectric.offline against that copy. The cache step goes.
61 lines
3.8 KiB
TOML
61 lines
3.8 KiB
TOML
[versions]
|
|
agp = "8.13.2"
|
|
kotlin = "2.2.21"
|
|
compose-bom = "2026.06.00"
|
|
activity = "1.11.0"
|
|
lifecycle = "2.9.4"
|
|
navigation = "2.9.5"
|
|
work = "2.10.5"
|
|
adaptive = "1.1.0"
|
|
tv-material = "1.1.0"
|
|
jna = "5.17.0"
|
|
junit = "4.13.2"
|
|
robolectric = "4.16"
|
|
androidx-test-core = "1.7.0"
|
|
androidx-test-junit = "1.3.0"
|
|
androidx-test-runner = "1.7.0"
|
|
ktlint-plugin = "13.1.0"
|
|
roborazzi = "1.76.0"
|
|
|
|
[libraries]
|
|
androidx-core = { module = "androidx.core:core-ktx", version = "1.17.0" }
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity" }
|
|
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }
|
|
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation" }
|
|
androidx-work-runtime = { module = "androidx.work:work-runtime-ktx", version.ref = "work" }
|
|
androidx-work-testing = { module = "androidx.work:work-testing", version.ref = "work" }
|
|
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
|
|
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
|
|
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
|
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
androidx-compose-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata" }
|
|
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
|
androidx-compose-material3-adaptive = { module = "androidx.compose.material3.adaptive:adaptive", version.ref = "adaptive" }
|
|
androidx-compose-material3-navigation-suite = { module = "androidx.compose.material3:material3-adaptive-navigation-suite", version.ref = "adaptive" }
|
|
androidx-tv-material = { module = "androidx.tv:tv-material", version.ref = "tv-material" }
|
|
androidx-compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" }
|
|
androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
|
|
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
|
|
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
|
|
rustls-platform-verifier = { module = "rustls:rustls-platform-verifier", version = "0.1.1" }
|
|
junit = { module = "junit:junit", version.ref = "junit" }
|
|
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
|
|
# The Android runtime Robolectric runs host tests on: API 34 (robolectric.properties)
|
|
# as Robolectric 4.16 names it. Bump it with Robolectric, from its
|
|
# DefaultSdkProvider; a stale one fails offline with the file name it wanted.
|
|
robolectric-android-all = { module = "org.robolectric:android-all-instrumented", version = "14-robolectric-10818077-i7" }
|
|
androidx-test-core = { module = "androidx.test:core-ktx", version.ref = "androidx-test-core" }
|
|
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-junit" }
|
|
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test-runner" }
|
|
roborazzi = { module = "io.github.takahirom.roborazzi:roborazzi", version.ref = "roborazzi" }
|
|
roborazzi-compose = { module = "io.github.takahirom.roborazzi:roborazzi-compose", version.ref = "roborazzi" }
|
|
roborazzi-junit-rule = { module = "io.github.takahirom.roborazzi:roborazzi-junit-rule", version.ref = "roborazzi" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint-plugin" }
|
|
roborazzi = { id = "io.github.takahirom.roborazzi", version.ref = "roborazzi" }
|