portable-scala/sbt-crossproject

crossProject.withId

Closed this issue · 1 comments

Sciss commented

When converting from "plain" sbt, like

lazy val geom = project.withId("lucre-geom").in(file("geom"))

to cross-project

lazy val geom = crossProject(JSPlatform, JVMPlatform).withId("lucre-geom").in(file("geom"))

this fails with

error: value withId is not a member of sbtcrossproject.CrossProject.Builder

Is there a work-around?

sjrd commented
lazy val geom = CrossProject("lucre-geom", file("lucre-geom"))(JSPlatform, ...)...

You may have to explicitly import CrossProject.