From 48ef9cda190325fbce938275cab1bb444c165786 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Thu, 30 Nov 2023 11:42:26 +0100 Subject: [PATCH] Remove warnings in the compose compiler reports configuration gradle code (#1932) --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 249c7c2e10..7d06c2bf18 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -383,13 +383,13 @@ subprojects { if (project.findProperty("composeCompilerReports") == "true") { freeCompilerArgs += listOf( "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=${project.buildDir.absolutePath}/compose_compiler" + "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=${project.layout.buildDirectory.asFile.get().absolutePath}/compose_compiler" ) } if (project.findProperty("composeCompilerMetrics") == "true") { freeCompilerArgs += listOf( "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=${project.buildDir.absolutePath}/compose_compiler" + "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=${project.layout.buildDirectory.asFile.get().absolutePath}/compose_compiler" ) } }