Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 9bd6c57

Browse files
committed
Update the scala-modules plugin to 1.0.3
Enable MiMa.
1 parent 6db94e4 commit 9bd6c57

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

build.sbt

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ scalaXmlVersion := "1.0.3"
1212

1313
scalaCheckVersion := "1.11.3"
1414

15-
// used as binary version when compiling against 2.12.0-SNAPSHOT
16-
snapshotScalaBinaryVersion := "2.11"
17-
18-
// TODO remove this after https://github.com/scala/sbt-scala-modules/pull/7
19-
// is merged and this build refers to the new plugin.
20-
scalaBinaryVersion := (
21-
if (scalaVersion.value.startsWith("2.12"))
22-
snapshotScalaBinaryVersion.value
23-
else
24-
scalaBinaryVersion.value
25-
)
26-
2715
// TODO: enable "-Xfatal-warnings" for nightlies,
2816
// off by default because we don't want to break scala/scala pr validation due to deprecation
2917
// don't use for doc scope, scaladoc warnings are not to be reckoned with
@@ -50,3 +38,5 @@ libraryDependencies += "org.scala-lang" % "scalap" % sca
5038
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided" intransitive()
5139

5240
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided" intransitive()
41+
42+
mimaPreviousVersion := Some("1.0.5")

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.2")
1+
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.3")

0 commit comments

Comments
 (0)