diff --git a/circuit-shared-elements/build.gradle.kts b/circuit-shared-elements/build.gradle.kts index dc060dae8..236eb970a 100644 --- a/circuit-shared-elements/build.gradle.kts +++ b/circuit-shared-elements/build.gradle.kts @@ -51,6 +51,6 @@ android { namespace = "com.slack.circuit.sharedelements" } baselineProfile { mergeIntoMain = true saveInSrc = true - from(projects.samples.star.benchmark.dependencyProject) + @Suppress("DEPRECATION") from(projects.samples.star.benchmark.dependencyProject) filter { include("com.slack.circuit.sharedelements.**") } } diff --git a/circuitx/overlays/build.gradle.kts b/circuitx/overlays/build.gradle.kts index 2472762a0..7a8ad7ae1 100644 --- a/circuitx/overlays/build.gradle.kts +++ b/circuitx/overlays/build.gradle.kts @@ -42,12 +42,7 @@ kotlin { } } - androidMain { - dependencies { - api(libs.androidx.compose.material.material3) - implementation(libs.androidx.compose.accompanist.systemUi) - } - } + androidMain { dependencies { api(libs.androidx.compose.material.material3) } } // We use a common folder instead of a common source set because there is no commonizer // which exposes the browser APIs across these two targets. jsMain { kotlin.srcDir("src/browserMain/kotlin") } diff --git a/circuitx/overlays/dependencies/androidReleaseRuntimeClasspath.txt b/circuitx/overlays/dependencies/androidReleaseRuntimeClasspath.txt index 8880a08e6..9150dcc39 100644 --- a/circuitx/overlays/dependencies/androidReleaseRuntimeClasspath.txt +++ b/circuitx/overlays/dependencies/androidReleaseRuntimeClasspath.txt @@ -70,7 +70,6 @@ androidx.savedstate:savedstate androidx.startup:startup-runtime androidx.tracing:tracing androidx.versionedparcelable:versionedparcelable -com.google.accompanist:accompanist-systemuicontroller com.google.guava:listenablefuture org.jetbrains.androidx.lifecycle:lifecycle-common org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index dea6b23bc..e8c21f03f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,4 @@ [versions] -accompanist = "0.36.0" androidx-activity = "1.9.3" androidx-annotation = "1.9.1" androidx-appcompat = "1.7.0" @@ -95,15 +94,6 @@ androidx-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "a androidx-benchmark-macro-junit = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "benchmark" } androidx-browser = { module = "androidx.browser:browser", version.ref = "androidx-browser" } ####### Compose -# You must enable the SlackProperties.enableCompose property to use these. -androidx-compose-accompanist-appCompatThemeAdapter = { module = "com.google.accompanist:accompanist-appcompat-theme", version.ref = "accompanist" } -androidx-compose-accompanist-flowlayout = { module = "com.google.accompanist:accompanist-flowlayout", version.ref = "accompanist" } -androidx-compose-accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanist" } -androidx-compose-accompanist-pager-indicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanist" } -androidx-compose-accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" } -androidx-compose-accompanist-placeholder = { module = "com.google.accompanist:accompanist-placeholder", version.ref = "accompanist" } -androidx-compose-accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "accompanist" } -androidx-compose-accompanist-systemUi = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" } androidx-compose-animation = { module = "androidx.compose.animation:animation", version.ref = "compose-animation" } androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" } # Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.) diff --git a/samples/counter/apps/build.gradle.kts b/samples/counter/apps/build.gradle.kts index 4c0f80d3b..4bf0219d9 100644 --- a/samples/counter/apps/build.gradle.kts +++ b/samples/counter/apps/build.gradle.kts @@ -56,7 +56,6 @@ kotlin { implementation(libs.bundles.compose.ui) implementation(libs.androidx.compose.integration.materialThemeAdapter) implementation(libs.androidx.compose.material.icons) - implementation(libs.androidx.compose.accompanist.systemUi) implementation(libs.androidx.compose.ui.tooling) } } diff --git a/samples/interop/build.gradle.kts b/samples/interop/build.gradle.kts index 9245c4518..b1c2d96dd 100644 --- a/samples/interop/build.gradle.kts +++ b/samples/interop/build.gradle.kts @@ -31,11 +31,6 @@ dependencies { implementation(libs.androidx.compose.ui.util) implementation(libs.androidx.compose.integration.materialThemeAdapter) implementation(libs.androidx.compose.material.icons) - implementation(libs.androidx.compose.accompanist.pager) - implementation(libs.androidx.compose.accompanist.pager.indicators) - implementation(libs.androidx.compose.accompanist.flowlayout) - implementation(libs.androidx.compose.accompanist.swiperefresh) - implementation(libs.androidx.compose.accompanist.systemUi) debugImplementation(libs.androidx.compose.ui.tooling) implementation(libs.windowSizeClass) implementation(libs.bundles.androidx.activity) diff --git a/samples/star/build.gradle.kts b/samples/star/build.gradle.kts index 1bca88912..eadde0ff8 100644 --- a/samples/star/build.gradle.kts +++ b/samples/star/build.gradle.kts @@ -140,10 +140,6 @@ kotlin { implementation(libs.androidx.appCompat) implementation(libs.androidx.activity.compose) implementation(libs.androidx.browser) - implementation(libs.androidx.compose.accompanist.flowlayout) - implementation(libs.androidx.compose.accompanist.pager) - implementation(libs.androidx.compose.accompanist.pager.indicators) - implementation(libs.androidx.compose.accompanist.systemUi) implementation(libs.androidx.compose.googleFonts) implementation(libs.androidx.compose.ui.tooling) implementation(libs.coroutines.android) diff --git a/samples/star/src/commonMain/kotlin/com/slack/circuit/star/ui/HorizontalPagerIndicator.kt b/samples/star/src/commonMain/kotlin/com/slack/circuit/star/ui/HorizontalPagerIndicator.kt index b680f32f6..208e48718 100644 --- a/samples/star/src/commonMain/kotlin/com/slack/circuit/star/ui/HorizontalPagerIndicator.kt +++ b/samples/star/src/commonMain/kotlin/com/slack/circuit/star/ui/HorizontalPagerIndicator.kt @@ -15,7 +15,6 @@ */ package com.slack.circuit.star.ui -import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box @@ -63,9 +62,7 @@ import kotlin.math.sign * @param indicatorHeight the height of each indicator in [Dp]. Defaults to [indicatorWidth]. * @param spacing the spacing between each indicator in [Dp]. * @param indicatorShape the shape representing each indicator. This defaults to [CircleShape]. - * @sample com.google.accompanist.sample.pager.HorizontalPagerIndicatorSample */ -@OptIn(ExperimentalFoundationApi::class) @Composable fun HorizontalPagerIndicator( pagerState: androidx.compose.foundation.pager.PagerState, diff --git a/samples/tacos/build.gradle.kts b/samples/tacos/build.gradle.kts index b66f3ecf7..076e74288 100644 --- a/samples/tacos/build.gradle.kts +++ b/samples/tacos/build.gradle.kts @@ -40,7 +40,6 @@ dependencies { implementation(libs.androidx.activity.ktx) implementation(libs.androidx.activity.compose) implementation(libs.androidx.appCompat) - implementation(libs.androidx.compose.accompanist.systemUi) implementation(libs.androidx.compose.integration.materialThemeAdapter) implementation(libs.androidx.compose.material.material3) debugImplementation(libs.androidx.compose.ui.tooling)