Skip to content

Commit

Permalink
Enable experimental Compose compiler optimization
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
  • Loading branch information
AntsyLich and ivaniskandar committed Mar 2, 2024
1 parent e83bfb0 commit 9f48def
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ tasks {
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",
)
}
}

Expand Down

0 comments on commit 9f48def

Please sign in to comment.