chore: use material-ripple instead material

This commit is contained in:
2024-01-06 12:11:57 +08:00
parent 4fa02310e0
commit 46db4ff16c
2 changed files with 5 additions and 2 deletions

View File

@@ -36,8 +36,7 @@ kotlin {
dependencies {
implementation(compose.runtime)
implementation(compose.foundation)
// TODO: We need to remove this and replace with "material-ripple"
implementation(compose.material)
implementation(composeExt.material.ripple)
implementation(projects.flexiuiResources)
api(com.highcapable.betterandroid.compose.extension)
}

View File

@@ -26,6 +26,10 @@ plugins:
version: 0.26.0
libraries:
org.jetbrains.compose.material:
material-ripple:
alias: composeExt-material-ripple
version-ref: <plugins>::jetbrains-compose
# Use a placeholder for the alpha / beta compose version
# In the project to use "androidx.compose.android.version" to obtain the version
# and use the "resolutionStrategy" to replace all the current "stable" versions