mirror of https://github.com/sbt/sbt.git
Merge pull request #186 from alexarchambault/sbt-mima-0.6.3
Switch to sbt-mima 0.6.3
This commit is contained in:
commit
aeb241f308
|
|
@ -71,6 +71,7 @@ lazy val `lm-coursier-shaded` = project
|
||||||
|
|
||||||
lazy val `sbt-coursier-shared` = project
|
lazy val `sbt-coursier-shared` = project
|
||||||
.in(file("modules/sbt-coursier-shared"))
|
.in(file("modules/sbt-coursier-shared"))
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`lm-coursier`)
|
.dependsOn(`lm-coursier`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -81,6 +82,7 @@ lazy val `sbt-coursier-shared` = project
|
||||||
|
|
||||||
lazy val `sbt-coursier-shared-shaded` = project
|
lazy val `sbt-coursier-shared-shaded` = project
|
||||||
.in(file("modules/sbt-coursier-shared/target/shaded-module"))
|
.in(file("modules/sbt-coursier-shared/target/shaded-module"))
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`lm-coursier-shaded`)
|
.dependsOn(`lm-coursier-shaded`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -91,6 +93,7 @@ lazy val `sbt-coursier-shared-shaded` = project
|
||||||
lazy val `sbt-lm-coursier` = project
|
lazy val `sbt-lm-coursier` = project
|
||||||
.in(file("modules/sbt-lm-coursier"))
|
.in(file("modules/sbt-lm-coursier"))
|
||||||
.enablePlugins(ScriptedPlugin)
|
.enablePlugins(ScriptedPlugin)
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`sbt-coursier-shared-shaded`)
|
.dependsOn(`sbt-coursier-shared-shaded`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -108,6 +111,7 @@ lazy val `sbt-lm-coursier` = project
|
||||||
lazy val `sbt-coursier` = project
|
lazy val `sbt-coursier` = project
|
||||||
.in(file("modules/sbt-coursier"))
|
.in(file("modules/sbt-coursier"))
|
||||||
.enablePlugins(ScriptedPlugin)
|
.enablePlugins(ScriptedPlugin)
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`sbt-coursier-shared`)
|
.dependsOn(`sbt-coursier-shared`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -124,6 +128,7 @@ lazy val `sbt-coursier` = project
|
||||||
lazy val `sbt-pgp-coursier` = project
|
lazy val `sbt-pgp-coursier` = project
|
||||||
.in(file("modules/sbt-pgp-coursier"))
|
.in(file("modules/sbt-pgp-coursier"))
|
||||||
.enablePlugins(ScriptedPlugin)
|
.enablePlugins(ScriptedPlugin)
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`sbt-coursier`)
|
.dependsOn(`sbt-coursier`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -143,6 +148,7 @@ lazy val `sbt-pgp-coursier` = project
|
||||||
lazy val `sbt-shading` = project
|
lazy val `sbt-shading` = project
|
||||||
.in(file("modules/sbt-shading"))
|
.in(file("modules/sbt-shading"))
|
||||||
.enablePlugins(ScriptedPlugin)
|
.enablePlugins(ScriptedPlugin)
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.dependsOn(`sbt-coursier`)
|
.dependsOn(`sbt-coursier`)
|
||||||
.settings(
|
.settings(
|
||||||
plugin,
|
plugin,
|
||||||
|
|
@ -158,6 +164,7 @@ lazy val `sbt-shading` = project
|
||||||
|
|
||||||
lazy val `sbt-coursier-root` = project
|
lazy val `sbt-coursier-root` = project
|
||||||
.in(file("."))
|
.in(file("."))
|
||||||
|
.disablePlugins(MimaPlugin)
|
||||||
.aggregate(
|
.aggregate(
|
||||||
`lm-coursier`,
|
`lm-coursier`,
|
||||||
`lm-coursier-shaded`,
|
`lm-coursier-shaded`,
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,13 @@ object Mima {
|
||||||
.forall(c => c == '.' || c == '-' || c.isDigit)
|
.forall(c => c == '.' || c == '-' || c.isDigit)
|
||||||
|
|
||||||
def binaryCompatibilityVersions: Set[String] =
|
def binaryCompatibilityVersions: Set[String] =
|
||||||
Seq("git", "tag", "--merged", "HEAD^", "--contains", "736d5c11")
|
Seq("git", "tag", "--merged", "HEAD^", "--contains", "v2.0.0-RC3-6")
|
||||||
.!!
|
.!!
|
||||||
.linesIterator
|
.linesIterator
|
||||||
.map(_.trim)
|
.map(_.trim)
|
||||||
.filter(_.startsWith("v"))
|
.filter(_.startsWith("v"))
|
||||||
.map(_.stripPrefix("v"))
|
.map(_.stripPrefix("v"))
|
||||||
.filter(stable)
|
.filter(stable)
|
||||||
.filter(_ != "2.0.0-RC3-2") // borked release
|
|
||||||
.toSet
|
.toSet
|
||||||
|
|
||||||
def settings: Seq[Setting[_]] = Seq(
|
def settings: Seq[Setting[_]] = Seq(
|
||||||
|
|
@ -37,6 +36,8 @@ object Mima {
|
||||||
import com.typesafe.tools.mima.core._
|
import com.typesafe.tools.mima.core._
|
||||||
|
|
||||||
Seq(
|
Seq(
|
||||||
|
// spurious errors on CI
|
||||||
|
ProblemFilters.exclude[IncompatibleSignatureProblem]("*"),
|
||||||
// Methods that shouldn't have been there
|
// Methods that shouldn't have been there
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.FileCredentials.get"),
|
ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.FileCredentials.get"),
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.DirectCredentials.matches"),
|
ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.DirectCredentials.matches"),
|
||||||
|
|
@ -56,6 +57,8 @@ object Mima {
|
||||||
import com.typesafe.tools.mima.core._
|
import com.typesafe.tools.mima.core._
|
||||||
|
|
||||||
Seq(
|
Seq(
|
||||||
|
// spurious errors on CI
|
||||||
|
ProblemFilters.exclude[IncompatibleSignatureProblem]("*"),
|
||||||
// Should have been put under lmcoursier.internal?
|
// Should have been put under lmcoursier.internal?
|
||||||
(pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.definitions.ToCoursier."))
|
(pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.definitions.ToCoursier."))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.0")
|
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.0")
|
||||||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.3.0")
|
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.6.3")
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "2.0.0-RC5-3")
|
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "2.0.0-RC5-3")
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.0.0-RC5-3")
|
addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.0.0-RC5-3")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue