gradle: add AndroidX Compose dependencies

This commit is contained in:
Harsh Shandilya 2022-08-02 22:32:50 +05:30
parent e7f4c8a7eb
commit 47a00ad61a
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 14 additions and 2 deletions

View file

@ -1,5 +1,6 @@
package dev.msfjarvis.claw.common.ui.decorations
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.SmallTopAppBar
import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.runtime.Composable
@ -7,6 +8,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
@Composable
@OptIn(ExperimentalMaterial3Api::class)
fun ClawAppBar(
backgroundColor: Color,
modifier: Modifier = Modifier,

View file

@ -1,11 +1,11 @@
[versions]
accompanist = "0.23.0"
accompanist = "0.26.0-alpha"
agp = "7.2.1"
androidXTest = "1.4.0"
aurora = "1.2-SNAPSHOT"
coil = "2.1.0"
# @keep This is used by paparazzi-tests and Renovate
composeCompiler = "1.2.0"
composeCompiler = "1.3.0-rc01"
coroutines = "1.6.4"
dagger = "2.43.1"
hilt = "1.0.0"
@ -18,11 +18,21 @@ sqldelight = "2.0.0-alpha03"
workmanager = "2.8.0-alpha02"
[libraries]
accompanist-flowlayout = { module = "com.google.accompanist:accompanist-flowlayout", version.ref = "accompanist" }
accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "accompanist" }
accompanist-sysuicontroller = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" }
androidx-activity-compose = "androidx.activity:activity-compose:1.6.0-alpha05"
androidx-benchmark-macro-junit4 = "androidx.benchmark:benchmark-macro-junit4:1.1.0"
androidx-browser = "androidx.browser:browser:1.4.0"
androidx-compose-animation = "androidx.compose.animation:animation:1.3.0-alpha02"
androidx-compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" }
androidx-compose-foundation = "androidx.compose.foundation:foundation:1.3.0-alpha02"
androidx-compose-material = "androidx.compose.material:material:1.3.0-alpha02"
androidx-compose-material3 = "androidx.compose.material3:material3:1.0.0-alpha15"
androidx-compose-runtime = "androidx.compose.runtime:runtime:1.3.0-alpha02"
androidx-compose-ui-ui-text = "androidx.compose.ui:ui-text:1.3.0-alpha02"
androidx-compose-ui-ui = "androidx.compose.ui:ui:1.3.0-alpha02"
androidx-compose-ui-ui-tooling-preview = "androidx.compose.ui:ui-tooling-preview:1.3.0-alpha02"
androidx-core-splashscreen = "androidx.core:core-splashscreen:1.0.0-rc01"
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "hilt" }
androidx-hilt-work = { module = "androidx.hilt:hilt-work", version.ref = "hilt" }