Skip to content

Commit b26ec56

Browse files
committed
Adjust build definition
- plugin sbt-version-policy is not needed anymore, it is brought by sbt-scala-module - key `versionScheme` is already configured by sbt-version-policy - key `scalaModuleMimaPreviousVersion` is not needed anymore - `versionPolicyCheck` does not need to be invoked explicitly, because the task `test` of published modules already depends on it
1 parent f809aeb commit b26ec56

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

build.sbt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,11 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
7575
sharedSourceDir / "scala-2.11_2.12"
7676
}
7777
},
78-
versionScheme := Some("early-semver"),
7978
versionPolicyIntention := Compatibility.BinaryCompatible,
8079
)
8180
.jvmSettings(
8281
Test / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / "compat/src/test/scala-jvm",
8382
junit,
84-
scalaModuleMimaPreviousVersion := Some("2.5.0"),
8583
mimaBinaryIssueFilters ++= {
8684
import com.typesafe.tools.mima.core._
8785
import com.typesafe.tools.mima.core.ProblemFilters._
@@ -373,7 +371,6 @@ inThisBuild(
373371
List(s"""++${sys.env.get("TRAVIS_SCALA_VERSION").get}!"""),
374372
List(s"$projectPrefix/clean"),
375373
List(s"$testProjectPrefix/test"),
376-
List(s"$projectPrefix/versionPolicyCheck"),
377374
List(s"$projectPrefix/publishLocal"),
378375
publishTask
379376
).flatten

project/plugins.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % crossV
1111
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.4.0")
1212
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.29")
1313
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
14-
addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "1.2.1")

0 commit comments

Comments
 (0)