File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -756,10 +756,12 @@ object Build {
756756 val sbtOrg = " org.scala-sbt"
757757 val bridgeDirectoryPattern = s " * ${dottyVersion}* "
758758
759+ val log = streams.value.log
760+ log.info(" Cleaning the dotty-sbt-bridge cache" )
759761 IO .delete((file(home) / " .ivy2" / " cache" / sbtOrg * bridgeDirectoryPattern).get)
760762 IO .delete((file(home) / " .sbt" / " boot" * " scala-*" / sbtOrg / " sbt" * " *" * bridgeDirectoryPattern).get)
761763 },
762- packageSrc in Compile := (packageSrc in Compile ).dependsOn(cleanSbtBridge).value,
764+ compile in Compile := (compile in Compile ).dependsOn(cleanSbtBridge).value,
763765 description := " sbt compiler bridge for Dotty" ,
764766 resolvers += Resolver .typesafeIvyRepo(" releases" ), // For org.scala-sbt:api
765767 libraryDependencies ++= Seq (
You can’t perform that action at this time.
0 commit comments