diff --git a/maps-compose/compose_compiler_stability_config.conf b/compose_compiler_stability_config.conf similarity index 100% rename from maps-compose/compose_compiler_stability_config.conf rename to compose_compiler_stability_config.conf diff --git a/maps-compose-utils/build.gradle.kts b/maps-compose-utils/build.gradle.kts index 41f9ccb8..5780e250 100644 --- a/maps-compose-utils/build.gradle.kts +++ b/maps-compose-utils/build.gradle.kts @@ -47,6 +47,19 @@ android { } } +composeCompiler { + stabilityConfigurationFiles.set( + listOf(rootProject.layout.projectDirectory.file("compose_compiler_stability_config.conf")) + ) + + if (findProperty("composeCompilerReports") == "true") { + reportsDestination = layout.buildDirectory.dir("compose_compiler") + } + if (findProperty("composeCompilerMetrics") == "true") { + metricsDestination = layout.buildDirectory.dir("compose_compiler") + } +} + dependencies { api(project(":maps-compose")) diff --git a/maps-compose-widgets/build.gradle.kts b/maps-compose-widgets/build.gradle.kts index 4330e2da..5f4efed6 100644 --- a/maps-compose-widgets/build.gradle.kts +++ b/maps-compose-widgets/build.gradle.kts @@ -55,6 +55,19 @@ android { } } +composeCompiler { + stabilityConfigurationFiles.set( + listOf(rootProject.layout.projectDirectory.file("compose_compiler_stability_config.conf")) + ) + + if (findProperty("composeCompilerReports") == "true") { + reportsDestination = layout.buildDirectory.dir("compose_compiler") + } + if (findProperty("composeCompilerMetrics") == "true") { + metricsDestination = layout.buildDirectory.dir("compose_compiler") + } +} + dependencies { implementation(project(":maps-compose")) diff --git a/maps-compose/build.gradle.kts b/maps-compose/build.gradle.kts index 6afbede7..54139092 100644 --- a/maps-compose/build.gradle.kts +++ b/maps-compose/build.gradle.kts @@ -51,7 +51,7 @@ android { composeCompiler { stabilityConfigurationFiles.set( - listOf(layout.projectDirectory.file("compose_compiler_stability_config.conf")) + listOf(rootProject.layout.projectDirectory.file("compose_compiler_stability_config.conf")) ) if (findProperty("composeCompilerReports") == "true") {