Skip to content

Commit 92da557

Browse files
committed
sbt 1.4: avoid some unused-setting warnings
1 parent fbcd98f commit 92da557

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

build.sbt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ lazy val commonSettings = Seq(
1313
|
1414
|See the NOTICE file distributed with this work for
1515
|additional information regarding copyright ownership.
16-
|""".stripMargin)),
17-
scalaModuleMimaPreviousVersion := Some("2.1.6"),
18-
mimaBinaryIssueFilters ++= {
19-
import com.typesafe.tools.mima.core._
20-
import com.typesafe.tools.mima.core.ProblemFilters._
21-
Seq(
22-
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
23-
)
24-
}
16+
|""".stripMargin))
2517
)
2618

2719
lazy val root = project
@@ -74,7 +66,15 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
7466
Test / sourceDirectories += (ThisBuild / baseDirectory).value / "compat/src/test/scala-jvm"
7567
)
7668
.jvmSettings(
77-
junit
69+
junit,
70+
scalaModuleMimaPreviousVersion := Some("2.1.6"),
71+
mimaBinaryIssueFilters ++= {
72+
import com.typesafe.tools.mima.core._
73+
import com.typesafe.tools.mima.core.ProblemFilters._
74+
Seq(
75+
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
76+
)
77+
},
7878
)
7979
.jsSettings(
8080
scalacOptions += {
@@ -269,7 +269,6 @@ lazy val dontPublish = Seq(
269269
packagedArtifacts := Map.empty,
270270
publish := {},
271271
publishLocal := {},
272-
scalaModuleMimaPreviousVersion := None
273272
)
274273

275274
val travisScalaVersion = sys.env.get("TRAVIS_SCALA_VERSION").flatMap(Version.parse)

0 commit comments

Comments
 (0)