Merge pull request #3809 from dwijnand/update-mimaPreviousArtifacts-1.1.x

update mimaPreviousArtifacts (in the 1.1.x branch)
This commit is contained in:
Dale Wijnand 2017-12-13 22:06:46 +00:00 committed by GitHub
commit 4248f5a0af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -75,10 +75,9 @@ def testedBaseSettings: Seq[Setting[_]] =
baseSettings ++ testDependencies
val mimaSettings = Def settings (
mimaPreviousArtifacts := Set(
organization.value % moduleName.value % "1.0.0"
cross (if (crossPaths.value) CrossVersion.binary else CrossVersion.disabled)
)
mimaPreviousArtifacts := (0 to 4).map { v =>
organization.value % moduleName.value % s"1.0.$v" cross (if (crossPaths.value) CrossVersion.binary else CrossVersion.disabled)
}.toSet
)
lazy val sbtRoot: Project = (project in file("."))