mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Fixes actions/external-doc
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user