mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 01:47:03 +05:30
fix(build): enable new PausableComposition
Compose Compiler feature
This commit is contained in:
parent
ba7607429a
commit
f35c12fcbd
3 changed files with 21 additions and 2 deletions
|
@ -6,6 +6,8 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
|
||||
|
||||
plugins {
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
id("dev.msfjarvis.claw.kotlin-android")
|
||||
|
@ -20,6 +22,13 @@ android {
|
|||
lint.disable += "DeprecatedCall"
|
||||
}
|
||||
|
||||
composeCompiler {
|
||||
featureFlags.addAll(
|
||||
ComposeFeatureFlag.OptimizeNonSkippingGroups,
|
||||
ComposeFeatureFlag.PausableComposition,
|
||||
)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.androidx.compose.runtime)
|
||||
api(libs.androidx.compose.ui)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue