mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +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 {
|
tasks.withType<KotlinCompile>().configureEach {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs +=
|
freeCompilerArgs =
|
||||||
listOf(
|
freeCompilerArgs +
|
||||||
"-P",
|
listOf(
|
||||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
"-P",
|
||||||
rootProject.buildDir.absolutePath +
|
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||||
"/compose_metrics/",
|
rootProject.buildDir.absolutePath +
|
||||||
"-P",
|
"/compose_metrics/",
|
||||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
"-P",
|
||||||
rootProject.buildDir.absolutePath +
|
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||||
"/compose_metrics/",
|
rootProject.buildDir.absolutePath +
|
||||||
)
|
"/compose_metrics/",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,17 +22,18 @@ androidComponents { beforeVariants { it.enableUnitTest = false } }
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>().configureEach {
|
tasks.withType<KotlinCompile>().configureEach {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs +=
|
freeCompilerArgs =
|
||||||
listOf(
|
freeCompilerArgs +
|
||||||
"-P",
|
listOf(
|
||||||
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
"-P",
|
||||||
rootProject.buildDir.absolutePath +
|
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
|
||||||
"/compose_metrics/",
|
rootProject.buildDir.absolutePath +
|
||||||
"-P",
|
"/compose_metrics/",
|
||||||
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
"-P",
|
||||||
rootProject.buildDir.absolutePath +
|
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
|
||||||
"/compose_metrics/",
|
rootProject.buildDir.absolutePath +
|
||||||
)
|
"/compose_metrics/",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue