Skip to content

Commit 845f822

Browse files
authored
Merge pull request #100 from scala-steward/update/sbt-mima-plugin-1.0.0
Update sbt-mima-plugin to 1.0.0
2 parents ff1a3fe + 64969ca commit 845f822

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inThisBuild(List(
1111
url("https://github.com/alexarchambault")
1212
)
1313
),
14-
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
14+
versionPolicyIntention := Compatibility.None
1515
))
1616

1717
lazy val root = (project in file("."))
@@ -26,7 +26,7 @@ lazy val `sbt-version-policy` = project
2626
.settings(
2727
scriptedLaunchOpts += "-Dplugin.version=" + version.value,
2828
scriptedBufferLog := false,
29-
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.2"),
29+
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.0.0"),
3030
libraryDependencies ++= Seq(
3131
"io.github.alexarchambault" %% "data-class" % "0.2.5" % Provided,
3232
compilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)

sbt-version-policy/src/main/scala/sbtversionpolicy/internal/MimaIssues.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ object MimaIssues {
1515
val log = streams.value.log
1616
val previousClassfiles = mimaPreviousClassfiles.value
1717
val currentClassfiles = mimaCurrentClassfiles.value
18+
val excludeAnnotations = mimaExcludeAnnotations.value
1819
val cp = (mimaFindBinaryIssues / fullClasspath).value
1920
val scalaVersionValue = scalaVersion.value
2021

@@ -31,7 +32,8 @@ object MimaIssues {
3132
cp,
3233
"forward",
3334
scalaVersionValue,
34-
log
35+
log,
36+
excludeAnnotations.toList
3537
)
3638
}
3739
.filter {

0 commit comments

Comments
 (0)