Fix local bootstrap fails to import into IDEA

Included builds fails to find root dir bootstrap directory and fails
with unresolved dependency error.
This commit is contained in:
Yahor Berdnikau
2022-12-06 15:04:17 +01:00
committed by Space Team
parent 6111daa8f7
commit 25553b81d5
@@ -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 {