From 6c4cf28202cbecf9773cf01e0f3d4ffd270ff88d Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 22 Jan 2017 12:57:16 -0500 Subject: [PATCH] Fix dependency-management/scala-organization-version-check No implicit for Append.Value[Vector[String], String] found --- main/src/main/scala/sbt/Defaults.scala | 2 +- main/src/main/scala/sbt/Keys.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/scala/sbt/Defaults.scala b/main/src/main/scala/sbt/Defaults.scala index 155ce1137..205085662 100755 --- a/main/src/main/scala/sbt/Defaults.scala +++ b/main/src/main/scala/sbt/Defaults.scala @@ -1434,7 +1434,7 @@ object Classpaths { Vector.empty, filterImplicit = false, checkExplicit = true, overrideScalaVersion = true ) .withScalaOrganization(scalaOrganization.value) - .withScalaArtifacts(scalaArtifacts.value)) + .withScalaArtifacts(scalaArtifacts.value.toVector)) } )).value, artifactPath in makePom := artifactPathSetting(artifact in makePom).value, diff --git a/main/src/main/scala/sbt/Keys.scala b/main/src/main/scala/sbt/Keys.scala index 3d498e4f4..51550f6a0 100644 --- a/main/src/main/scala/sbt/Keys.scala +++ b/main/src/main/scala/sbt/Keys.scala @@ -194,7 +194,7 @@ object Keys { val printWarnings = TaskKey[Unit]("print-warnings", "Shows warnings from compilation, including ones that weren't printed initially.", BPlusTask) val fileInputOptions = SettingKey[Seq[String]]("file-input-options", "Options that take file input, which may invalidate the cache.", CSetting) val scalaCompilerBridgeSource = SettingKey[ModuleID]("scala-compiler-bridge-source", "Configures the module ID of the sources of the compiler bridge.", CSetting) - val scalaArtifacts = SettingKey[Vector[String]]("scala-artifacts", "Configures the list of artifacts which should match the Scala binary version", CSetting) + val scalaArtifacts = SettingKey[Seq[String]]("scala-artifacts", "Configures the list of artifacts which should match the Scala binary version", CSetting) val clean = TaskKey[Unit]("clean", "Deletes files produced by the build, such as generated sources, compiled classes, and task caches.", APlusTask) val console = TaskKey[Unit]("console", "Starts the Scala interpreter with the project classes on the classpath.", APlusTask)