mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-29 02:23:21 -05:00
Enable experimental Compose compiler optimization
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
This commit is contained in:
parent
e83bfb0d35
commit
9f48def1e2
1 changed files with 6 additions and 0 deletions
|
@ -304,6 +304,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…
Reference in a new issue