From b86389566901a091b51788670fb6107a558b637f Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Thu, 26 Jan 2023 15:25:13 +0100 Subject: [PATCH] Add cross-platform toolkit dependency this should select the toolkit dependency that matches the current platform. --- .../scala/scala/build/preprocessing/directives/Toolkit.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/directives/src/main/scala/scala/build/preprocessing/directives/Toolkit.scala b/modules/directives/src/main/scala/scala/build/preprocessing/directives/Toolkit.scala index 2b92e872f0..67122dd7e4 100644 --- a/modules/directives/src/main/scala/scala/build/preprocessing/directives/Toolkit.scala +++ b/modules/directives/src/main/scala/scala/build/preprocessing/directives/Toolkit.scala @@ -41,7 +41,7 @@ final case class Toolkit( object Toolkit { def resolveDependency(toolkitVersion: Positioned[String]) = toolkitVersion.map(version => val v = if version == "latest" then "latest.release" else version - dep"${Constants.toolkitOrganization}::${Constants.toolkitName}:$v,toolkit" + dep"${Constants.toolkitOrganization}::${Constants.toolkitName}::$v,toolkit" ) val handler: DirectiveHandler[Toolkit] = DirectiveHandler.derive }