Skip to content

Commit 78ac17a

Browse files
committed
Fix cleaning of sbt-bridge cache
Using `NOT_PUBLISHED` was a bad idea: this actually is published locally, and this doesn't work with `dotty-sbt-bridge/cleanSbtBridge`. Use the real version number instead.
1 parent 5e8a387 commit 78ac17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ object Build {
152152

153153
// Avoid having to run `dotty-sbt-bridge/publishLocal` before compiling a bootstrapped project
154154
scalaCompilerBridgeSource :=
155-
(dottyOrganization %% "dotty-sbt-bridge" % "NOT_PUBLISHED" % Configurations.Component.name)
155+
(dottyOrganization %% "dotty-sbt-bridge" % dottyVersion % Configurations.Component.name)
156156
.artifacts(Artifact.sources("dotty-sbt-bridge").copy(url =
157157
// We cannot use the `packageSrc` task because a setting cannot depend
158158
// on a task. Instead, we make `compile` below depend on the bridge `packageSrc`

0 commit comments

Comments
 (0)