新增 Baseline Profile 增加冷启动性能

This commit is contained in:
HapeLee
2026-05-13 18:14:40 +08:00
parent c1f7faf050
commit accd3afbbb
6 changed files with 218 additions and 0 deletions
+3
View File
@@ -9,6 +9,7 @@ plugins {
alias(libs.plugins.room)
alias(libs.plugins.ksp)
alias(libs.plugins.google.services)
alias(libs.plugins.baselineprofile)
}
apply(from = "download.gradle")
@@ -168,6 +169,8 @@ ksp {
}
dependencies {
implementation(libs.androidx.profileinstaller)
"baselineProfile"(project(":baselineprofile"))
coreLibraryDesugaring(libs.desugar)
testImplementation(libs.junit)
androidTestImplementation(libs.bundles.androidTest)