mirror of https://github.com/sbt/sbt.git
update mimaPreviousArtifacts. add sbt 1.1.0
This commit is contained in:
parent
907fc2615b
commit
afd214d4b0
15
build.sbt
15
build.sbt
|
|
@ -76,9 +76,11 @@ def testedBaseSettings: Seq[Setting[_]] =
|
||||||
baseSettings ++ testDependencies
|
baseSettings ++ testDependencies
|
||||||
|
|
||||||
val mimaSettings = Def settings (
|
val mimaSettings = Def settings (
|
||||||
mimaPreviousArtifacts := (0 to 4).map { v =>
|
mimaPreviousArtifacts := {
|
||||||
organization.value % moduleName.value % s"1.0.$v" cross (if (crossPaths.value) CrossVersion.binary else CrossVersion.disabled)
|
((0 to 4).map(v => s"1.0.$v") ++ (0 to 0).map(v => s"1.1.$v")).map{ v =>
|
||||||
}.toSet
|
organization.value % moduleName.value % v cross (if (crossPaths.value) CrossVersion.binary else CrossVersion.disabled)
|
||||||
|
}.toSet
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
lazy val sbtRoot: Project = (project in file("."))
|
lazy val sbtRoot: Project = (project in file("."))
|
||||||
|
|
@ -336,6 +338,7 @@ lazy val commandProj = (project in file("main-command"))
|
||||||
contrabandFormatsForType in generateContrabands in Compile := ContrabandConfig.getFormats,
|
contrabandFormatsForType in generateContrabands in Compile := ContrabandConfig.getFormats,
|
||||||
mimaSettings,
|
mimaSettings,
|
||||||
mimaBinaryIssueFilters ++= Vector(
|
mimaBinaryIssueFilters ++= Vector(
|
||||||
|
exclude[DirectMissingMethodProblem]("sbt.BasicCommands.rebootOptionParser"),
|
||||||
// Changed the signature of Server method. nacho cheese.
|
// Changed the signature of Server method. nacho cheese.
|
||||||
exclude[DirectMissingMethodProblem]("sbt.internal.server.Server.*"),
|
exclude[DirectMissingMethodProblem]("sbt.internal.server.Server.*"),
|
||||||
// Added method to ServerInstance. This is also internal.
|
// Added method to ServerInstance. This is also internal.
|
||||||
|
|
@ -397,6 +400,9 @@ lazy val mainSettingsProj = (project in file("main-settings"))
|
||||||
name := "Main Settings",
|
name := "Main Settings",
|
||||||
resourceGenerators in Compile += generateToolboxClasspath.taskValue,
|
resourceGenerators in Compile += generateToolboxClasspath.taskValue,
|
||||||
mimaSettings,
|
mimaSettings,
|
||||||
|
mimaBinaryIssueFilters ++= Seq(
|
||||||
|
exclude[DirectMissingMethodProblem]("sbt.Scope.display012StyleMasked"),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.configure(
|
.configure(
|
||||||
addSbtIO,
|
addSbtIO,
|
||||||
|
|
@ -467,6 +473,9 @@ lazy val sbtProj = (project in file("sbt"))
|
||||||
|
|
||||||
lazy val sbtIgnoredProblems = {
|
lazy val sbtIgnoredProblems = {
|
||||||
Vector(
|
Vector(
|
||||||
|
exclude[MissingClassProblem]("buildinfo.BuildInfo"),
|
||||||
|
exclude[MissingClassProblem]("buildinfo.BuildInfo$"),
|
||||||
|
|
||||||
// Added more items to Import trait.
|
// Added more items to Import trait.
|
||||||
exclude[ReversedMissingMethodProblem]("sbt.Import.sbt$Import$_setter_$WatchSource_="),
|
exclude[ReversedMissingMethodProblem]("sbt.Import.sbt$Import$_setter_$WatchSource_="),
|
||||||
exclude[ReversedMissingMethodProblem]("sbt.Import.WatchSource"),
|
exclude[ReversedMissingMethodProblem]("sbt.Import.WatchSource"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue