После миграции на ScalaJS 0.6.23
из 0.6.21
:
(addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.23")
)
Мой sbt
-билд выдает следующее исключение:
...
[error] /Users/mpa/dev/Github/pme123/scala-adapters/project/Settings.scala:88:20: value %%% is not a member of String
[error] "org.scala-js" %%% "scalajs-dom" % "0.9.6"
[error] ^
[error] /Users/mpa/dev/Github/pme123/scala-adapters/project/Settings.scala:90:27: value %%% is not a member of String
[error] , "com.typesafe.play" %%% "play-json" % "2.6.1"
...
Это значение из Settings.scala
:
lazy val clientDependencies: Seq[Def.Setting[_]] = Def.settings(libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.6"
, "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
, ...
))
И вот как оно используется в build.sbt
:
lazy val client = (project in file("client"))
.settings(sharedSettings(Some("client")))
.settings(clientSettings)
.settings(clientDependencies)
.settings(jsSettings)
.enablePlugins(ScalaJSWeb)
.dependsOn(sharedJs)
Это проект: https://github.com/pme123/scala-adapters