Android: Fix release build
We don't need to see Compose previews when making a release build, but androidx.compose.ui.tooling.preview.Preview is referenced in the source code nonetheless, so the build system needs to know what it is.
This commit is contained in:
1 parent
e2ab15aa23
commit
b1d81af9cb
1 file changed
+2
-2
@@ -169,8 +169,8 @@ dependencies {
|
||||
implementation(libs.androidx.compose.material3.adaptive)
|
||||
implementation(libs.androidx.compose.runtime.livedata)
|
||||
implementation(libs.androidx.compose.ui)
|
||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||
debugImplementation(libs.androidx.compose.ui.tooling.preview)
|
||||
implementation(libs.androidx.compose.ui.tooling)
|
||||
implementation(libs.androidx.compose.ui.tooling.preview)
|
||||
}
|
||||
|
||||
fun getGitVersion(): String {
|
||||
|
||||
Reference in new issue
Block a user