From 80ccc2609088fd7b9b6fa7d1bc74e5254ddb5329 Mon Sep 17 00:00:00 2001 From: Sterling Greene Date: Wed, 22 May 2024 10:44:30 +0200 Subject: [PATCH] Relative to the _root_ project --- .../android/library/StandaloneAndroidLibraryPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unified-prototype/unified-plugin/plugin-android/src/main/java/org/gradle/api/experimental/android/library/StandaloneAndroidLibraryPlugin.java b/unified-prototype/unified-plugin/plugin-android/src/main/java/org/gradle/api/experimental/android/library/StandaloneAndroidLibraryPlugin.java index eb44683e..4bf8efaf 100644 --- a/unified-prototype/unified-plugin/plugin-android/src/main/java/org/gradle/api/experimental/android/library/StandaloneAndroidLibraryPlugin.java +++ b/unified-prototype/unified-plugin/plugin-android/src/main/java/org/gradle/api/experimental/android/library/StandaloneAndroidLibraryPlugin.java @@ -176,7 +176,7 @@ private List stabilityConfiguration(Project project, AndroidLibrary dslM if (dslModel.getCompose().getStabilityConfigurationFilePath().isPresent()) { return Arrays.asList( "-P", - "plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=" + project.getLayout().getProjectDirectory().file(dslModel.getCompose().getStabilityConfigurationFilePath()).get().getAsFile().getAbsolutePath() + "plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=" + project.getRootProject().getLayout().getProjectDirectory().file(dslModel.getCompose().getStabilityConfigurationFilePath()).get().getAsFile().getAbsolutePath() ); } else { return Collections.emptyList();