mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 09:15:06 +02:00
earlyOutput is a virtual file reference, so passing it directly via .toString produces a virtual path that scalac cannot resolve. Use fileConverter.value.toPath() to convert it to an actual filesystem path. Co-authored-by: corevibe555 <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
co-authored by
corevibe555
Claude Opus 4.6
parent
372b945651
commit
91be1a2f7e
@@ -1085,7 +1085,11 @@ object Defaults extends BuildCommon {
|
||||
)
|
||||
if (shouldApplyFlags)
|
||||
Def.uncached(
|
||||
Vector("-Ypickle-java", "-Ypickle-write", earlyOutput.value.toString) ++ old
|
||||
Vector(
|
||||
"-Ypickle-java",
|
||||
"-Ypickle-write",
|
||||
fileConverter.value.toPath(earlyOutput.value).toString
|
||||
) ++ old
|
||||
)
|
||||
else Def.uncached(old)
|
||||
} else Def.uncached(old)
|
||||
|
||||
Reference in New Issue
Block a user