Use lite compose-ui-tooling module on release builds (#9630)

The size reduction is minuscule but it's there.

(cherry picked from commit 6808fbbb21acaac4e866b5023146a97b86a9d68e)
This commit is contained in:
Ivan Iskandar
2023-06-23 19:26:35 +07:00
committed by Jobobby04
parent 7e82f21308
commit 9f1b349960
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -155,7 +155,8 @@ dependencies {
implementation(compose.material.icons)
implementation(compose.animation)
implementation(compose.animation.graphics)
implementation(compose.ui.tooling)
debugImplementation(compose.ui.tooling)
implementation(compose.ui.tooling.preview)
implementation(compose.ui.util)
implementation(compose.accompanist.webview)
implementation(compose.accompanist.permissions)
+1
View File
@@ -10,6 +10,7 @@ foundation = { module = "androidx.compose.foundation:foundation" }
animation = { module = "androidx.compose.animation:animation" }
animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
ui-util = { module = "androidx.compose.ui:ui-util" }
material3-core = { module = "androidx.compose.material3:material3" }
+2 -1
View File
@@ -30,7 +30,8 @@ dependencies {
implementation(compose.material.icons)
implementation(compose.animation)
implementation(compose.animation.graphics)
implementation(compose.ui.tooling)
debugImplementation(compose.ui.tooling)
implementation(compose.ui.tooling.preview)
implementation(compose.ui.util)
}