mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 06:27:02 +05:30
refactor(build): migrate to Baseline Profile Gradle Plugin
This commit is contained in:
parent
d9ab751dbd
commit
3bb5dfffbe
12 changed files with 19655 additions and 25322 deletions
|
@ -18,6 +18,7 @@ plugins {
|
|||
alias(libs.plugins.anvil)
|
||||
alias(libs.plugins.modulegraphassert)
|
||||
alias(libs.plugins.whetstone)
|
||||
alias(libs.plugins.baselineprofile)
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -28,18 +29,16 @@ android {
|
|||
useLiveLiterals = false
|
||||
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
||||
}
|
||||
buildTypes {
|
||||
create("benchmark") {
|
||||
signingConfig = signingConfigs["debug"]
|
||||
matchingFallbacks += "release"
|
||||
isDebuggable = false
|
||||
proguardFile("benchmark-rules.pro")
|
||||
applicationIdSuffix = ".benchmark"
|
||||
}
|
||||
}
|
||||
packaging { jniLibs { useLegacyPackaging = true } }
|
||||
}
|
||||
|
||||
baselineProfile {
|
||||
dexLayoutOptimization = true
|
||||
mergeIntoMain = true
|
||||
saveInSrc = true
|
||||
from(projects.benchmark.dependencyProject)
|
||||
}
|
||||
|
||||
moduleGraphAssert {
|
||||
assertOnAnyBuild = true
|
||||
maxHeight = 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue