diff --git a/android/build.gradle.kts b/android/build.gradle.kts index c92162cc..2cb79f04 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -28,17 +28,18 @@ whetstone { tasks.withType().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/", + ) } } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 5b3f872e..aedd652d 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -22,17 +22,18 @@ androidComponents { beforeVariants { it.enableUnitTest = false } } tasks.withType().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/", + ) } }