Enable experimental Compose compiler optimization
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> (cherry picked from commit 9f48def1e2718abd5b4aad3cb6ee8af6b39e76cc)
This commit is contained in:
parent
062f6d5aa0
commit
529100a947
@ -330,6 +330,12 @@ tasks {
|
|||||||
project.layout.buildDirectory.dir("compose_metrics").get().asFile.absolutePath,
|
project.layout.buildDirectory.dir("compose_metrics").get().asFile.absolutePath,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.5.9
|
||||||
|
kotlinOptions.freeCompilerArgs += listOf(
|
||||||
|
"-P",
|
||||||
|
"plugin:androidx.compose.compiler.plugins.kotlin:nonSkippingGroupOptimization=true",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user