-
Notifications
You must be signed in to change notification settings - Fork 397
Closed
Labels
bugConfirmed bug. Needs to be fixed.Confirmed bug. Needs to be fixed.
Milestone
Description
The following causes an "illegal dynamic reference: autoImport" error to be reported by sbt:
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.7.0-SNAPSHOT"
If I inline the body of the %%%
macro, everything works fine:
libraryDependencies += {
import org.scalajs.sbtplugin._
val cross = {
if (ScalaJSPlugin.autoImport.jsDependencies.?.value.isDefined)
ScalaJSCrossVersion.binary
else
CrossVersion.binary
}
impl.ScalaJSGroupID.withCross("org.scala-js", "scalajs-dom", cross) % "0.7.0-SNAPSHOT"
}
Metadata
Metadata
Assignees
Labels
bugConfirmed bug. Needs to be fixed.Confirmed bug. Needs to be fixed.