Skip to content

Commit 9ed8cdf

Browse files
committed
sbt-dotty: Require sbt >= 1.4, bump version to 0.5.0-SNAPSHOT
Because we're building sbt-dotty using sbt 1.4, we cannot guarantee that it works with older sbt versions (and in fact it doesn't), since this is a compatibility, we also bump the version number of sbt-dotty. Waiting for #10762 to be merged before releasing sbt-dotty 0.5.0.
1 parent dbc1186 commit 9ed8cdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ object Build {
5656
val referenceVersion = "3.0.0-RC1-bin-20201202-67d9790-NIGHTLY"
5757

5858
val baseVersion = "3.0.0-M3"
59-
val baseSbtDottyVersion = "0.4.7"
59+
val baseSbtDottyVersion = "0.5.0"
6060

6161
// Versions used by the vscode extension to create a new project
6262
// This should be the latest published releases.

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ object DottyPlugin extends AutoPlugin {
169169
override val globalSettings: Seq[Def.Setting[_]] = Seq(
170170
onLoad in Global := onLoad.in(Global).value.andThen { state =>
171171

172-
val requiredVersion = ">=1.3.6"
172+
val requiredVersion = ">=1.4.4"
173173

174174
val sbtV = sbtVersion.value
175175
if (!VersionNumber(sbtV).matchesSemVer(SemanticSelector(requiredVersion)))

0 commit comments

Comments
 (0)