mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 22:57:05 +05:30
fix(gradle): address list reassignment lints
This commit is contained in:
parent
dd019279ec
commit
1d2da7c2f8
2 changed files with 24 additions and 22 deletions
|
@ -28,17 +28,18 @@ whetstone {
|
|||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs +=
|
||||
listOf(
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
)
|
||||
freeCompilerArgs =
|
||||
freeCompilerArgs +
|
||||
listOf(
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,17 +22,18 @@ androidComponents { beforeVariants { it.enableUnitTest = false } }
|
|||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs +=
|
||||
listOf(
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
)
|
||||
freeCompilerArgs =
|
||||
freeCompilerArgs +
|
||||
listOf(
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
"-P",
|
||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||
rootProject.buildDir.absolutePath +
|
||||
"/compose_metrics/",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue