Fixes actions/external-doc

This commit is contained in:
Eugene Yokota 2017-07-16 10:19:42 -04:00
parent f0ac6ae11c
commit b4e4a48208
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ This is the beta-2 release of sbt 1.0.
The Scala Center is working with Lightbend to provide [an automatic migration tool][sbt-migration-rewrites].
- sbt 1.0 renames `Global` as scope component to `Zero` to disambiguate from `GlobalScope`. [@eed3si9n][@eed3si9n]
- sbt 1.0 uses `ConfigRef` in places where `String` was used to reference configuration, such as `update.value.configuration(...)`. Pass in `Configuration`, which implicitly converts to `ConfigRef`.
#### Fixes

View File

@ -31,7 +31,7 @@ val checkApiMappings = taskKey[Unit]("Verifies that the API mappings are collect
def expectedMappings = Def.task {
val version = scalaVersion.value
val binVersion = scalaBinaryVersion.value
val ms = update.value.configuration(Compile.name).get.modules.flatMap { mod =>
val ms = update.value.configuration(Compile).get.modules.flatMap { mod =>
mod.artifacts.flatMap { case (a,f) =>
val n = a.name.stripSuffix("_" + binVersion)
n match {