Skip to content

Commit cb2e7c5

Browse files
committed
Explicitly drop support for sbt < 1.9.0.
The new Maven Central Portal does not allow publishing artifacts under the legacy sbt plugin path pattern. sbt < 1.9.0 will not be able to resolve the new path patterns, so support for it is broken anyway. We explicitly drop support for it internally, instead of pretending that it will still work.
1 parent 837cdc0 commit cb2e7c5

File tree

21 files changed

+26
-19
lines changed

21 files changed

+26
-19
lines changed

project/Build.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,12 +1411,15 @@ object Build {
14111411
normalizedName := "sbt-scalajs",
14121412
sbtPlugin := true,
14131413
defaultScalaVersionOnlySettings,
1414-
sbtVersion := "1.0.0",
1414+
sbtVersion := "1.9.0",
14151415
scalaBinaryVersion :=
14161416
CrossVersion.binaryScalaVersion(scalaVersion.value),
14171417
previousArtifactSetting,
14181418
mimaBinaryIssueFilters ++= BinaryIncompatibilities.SbtPlugin,
14191419

1420+
// Don't warn about the deprecated 'in' methods
1421+
scalacOptions += "-Wconf:msg=`in` is deprecated; migrate to slash syntax:s",
1422+
14201423
addSbtPlugin("org.portable-scala" % "sbt-platform-deps" % "1.0.2"),
14211424
libraryDependencies += "org.scala-js" %% "scalajs-js-envs" % "1.4.0",
14221425
libraryDependencies += "org.scala-js" %% "scalajs-env-nodejs" % "1.4.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0

sbt-plugin/src/sbt-test/incremental/change-config-and-source/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name := "change-config-and-source"
2+
13
scalaVersion := "2.12.20"
24

35
enablePlugins(ScalaJSPlugin)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0

sbt-plugin/src/sbt-test/incremental/change-config/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name := "change-config"
2+
13
scalaVersion := "2.12.20"
24

35
enablePlugins(ScalaJSPlugin)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.3
1+
sbt.version=1.9.0

0 commit comments

Comments
 (0)