Merge pull request #148 from dwijnand/fix-mima-failure

Fix MiMa failures
This commit is contained in:
eugene yokota 2017-07-28 02:26:14 -04:00 committed by GitHub
commit a80ce86e65
1 changed files with 9 additions and 0 deletions

View File

@ -102,6 +102,15 @@ lazy val lmCore = (project in file("core"))
// method open(java.net.URL)java.net.HttpURLConnection in object sbt.librarymanagement.Http does not have a correspondent in current version
// Was private[sbt] and manually checked to be unused in Zinc or sbt
ProblemFilters.exclude[DirectMissingMethodProblem]("sbt.librarymanagement.Http.open"),
// method globalLockIsoString()sjsonnew.IsoString in trait sbt.internal.librarymanagement.formats.GlobalLockFormat is present only in current version
// method xsbtiLoggerIsoString()sjsonnew.IsoString in trait sbt.internal.librarymanagement.formats.LoggerFormat is present only in current version
// These only fail in Scala 2.11
// We're _probably_ ok to add these between sbt 1 RC2 and RC3,
// but it's dangerous territory in general
// see typesafehub/migration-manager#183 for an example of what happens..
ProblemFilters.exclude[ReversedMissingMethodProblem]("sbt.internal.librarymanagement.formats.GlobalLockFormat.globalLockIsoString"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("sbt.internal.librarymanagement.formats.LoggerFormat.xsbtiLoggerIsoString"),
)
)
.configure(addSbtIO, addSbtUtilLogging, addSbtUtilPosition, addSbtUtilCache)