From 25553b81d5e3549cac0879c2292766c6bfa00ca5 Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Tue, 6 Dec 2022 15:04:17 +0100 Subject: [PATCH] Fix local bootstrap fails to import into IDEA Included builds fails to find root dir bootstrap directory and fails with unresolved dependency error. --- repo/scripts/kotlin-bootstrap.settings.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/scripts/kotlin-bootstrap.settings.gradle.kts b/repo/scripts/kotlin-bootstrap.settings.gradle.kts index 5b6e8b33582..cd4ecf5ef44 100644 --- a/repo/scripts/kotlin-bootstrap.settings.gradle.kts +++ b/repo/scripts/kotlin-bootstrap.settings.gradle.kts @@ -245,7 +245,7 @@ when { val bootstrapVersion = localBootstrapVersion.get() val localPath = localBootstrapPath.orNull - val rootDirectory = rootSettings.rootDir + val rootDirectory = kotlinRootDir val repoPath = if (localPath != null) { rootDirectory.resolve(localPath).canonicalFile } else {