We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac8b59 commit d5011cbCopy full SHA for d5011cb
src/main/kotlin/io/bazel/kotlin/builder/toolchain/KotlinToolchain.kt
@@ -26,6 +26,7 @@ import org.jetbrains.kotlin.preloading.Preloader
26
import java.io.File
27
import java.io.PrintStream
28
import java.lang.reflect.Method
29
+import java.nio.file.Files
30
import java.nio.file.FileSystems
31
import java.nio.file.Path
32
import java.nio.file.Paths
@@ -103,6 +104,7 @@ class KotlinToolchain private constructor(
103
104
.resolveVerifiedFromProperty(
105
"@rules_kotlin..kotlin.compiler.kotlin-reflect",
106
).toPath()
107
+ .let { if (Files.isSymbolicLink(it)) Files.readSymbolicLink(it) else it }
108
}
109
110
private val KOTLINX_SERIALIZATION_CORE_JVM by lazy {
0 commit comments