Skip to content

Commit 19737a0

Browse files
committed
Run scripted with sbt 1.5
1 parent 689d562 commit 19737a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project/Build.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,9 +1243,12 @@ object Build {
12431243
baseDirectory.value / "../language-server/src/dotty/tools/languageserver/config",
12441244
sbtTestDirectory := baseDirectory.value / "sbt-test",
12451245

1246-
// ensure that sbt-dotty is built on sbt 1.4
1246+
// ensure that sbt-dotty is built with sbt 1.4
12471247
pluginCrossBuild / sbtVersion := "1.4.9",
12481248

1249+
// scritped tests are run with current sbt version
1250+
scriptedSbt := sbtVersion.value,
1251+
12491252
// The batch mode accidentally became the default with no way to disable
12501253
// it in sbt 1.4 (https://github.com/sbt/sbt/issues/5913#issuecomment-716003195).
12511254
// We enable it explicitly here to make it clear that we're using it.

0 commit comments

Comments
 (0)