Use new Compose BOM 2022.10.00 (#8295)

This commit is contained in:
Ivan Iskandar 2022-10-27 05:12:32 +07:00 committed by GitHub
parent ca06516900
commit 5b3f9e082e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View File

@ -163,6 +163,7 @@ dependencies {
implementation(project(":source-api")) implementation(project(":source-api"))
// Compose // Compose
implementation(platform(compose.bom))
implementation(compose.activity) implementation(compose.activity)
implementation(compose.foundation) implementation(compose.foundation)
implementation(compose.material3.core) implementation(compose.material3.core)

View File

@ -1,20 +1,20 @@
[versions] [versions]
compiler = "1.3.2" compiler = "1.3.2"
compose = "1.2.1" compose-bom = "2022.10.00"
accompanist = "0.25.1" accompanist = "0.27.0"
material3 = "1.0.0-rc01"
[libraries] [libraries]
activity = "androidx.activity:activity-compose:1.6.0" activity = "androidx.activity:activity-compose:1.6.0"
foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose" } bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
animation = { module = "androidx.compose.animation:animation", version.ref = "compose" } foundation = { module = "androidx.compose.foundation:foundation" }
animation-graphics = { module = "androidx.compose.animation:animation-graphics", version.ref = "compose" } animation = { module = "androidx.compose.animation:animation" }
ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
ui-util = { module = "androidx.compose.ui:ui-util", version.ref = "compose" } ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
ui-util = { module = "androidx.compose.ui:ui-util" }
material3-core = { module = "androidx.compose.material3:material3", version.ref = "material3" } material3-core = { module = "androidx.compose.material3:material3" }
material3-adapter = "com.google.android.material:compose-theme-adapter-3:1.0.20" material3-adapter = "com.google.android.material:compose-theme-adapter-3:1.0.21"
material-icons = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose" } material-icons = { module = "androidx.compose.material:material-icons-extended" }
accompanist-webview = { module = "com.google.accompanist:accompanist-webview", version.ref = "accompanist" } accompanist-webview = { module = "com.google.accompanist:accompanist-webview", version.ref = "accompanist" }
accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "accompanist" } accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "accompanist" }