From 2a180f9d49075ab87fdf0fa44d3e7f94882a476b Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Thu, 19 Dec 2024 10:26:22 +0100 Subject: [PATCH] Use lambda syntax --- .../com/google/samples/apps/nowinandroid/AndroidCompose.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt index 911f02ebb..8fc46a436 100644 --- a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt +++ b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt @@ -67,7 +67,8 @@ internal fun Project.configureAndroidCompose( .relativeToRootProject("compose-reports") .let(reportsDestination::set) - stabilityConfigurationFiles - .add(isolated.rootProject.projectDirectory.file("compose_compiler_config.conf")) + stabilityConfigurationFiles.add { + isolated.rootProject.projectDirectory.file("compose_compiler_config.conf") + } } }