Fix new api usage

This commit is contained in:
世界
2026-05-19 18:31:20 +08:00
parent 772879ce9c
commit d8932aa83c
7 changed files with 43 additions and 9 deletions
+7
View File
@@ -161,6 +161,10 @@ android {
}
}
lint {
fatal += "NewApi"
}
applicationVariants.configureEach {
outputs.configureEach {
val output = this as com.android.build.gradle.internal.api.BaseVariantOutputImpl
@@ -314,6 +318,9 @@ dependencies {
// Debug/Test dependencies
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")
"androidTestPlayImplementation"(composeBom23)
"androidTestOtherImplementation"(composeBom23)
"androidTestOtherLegacyImplementation"(composeBom21)
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
// Common Compose-related libraries