Skip to content

Instantly share code, notes, and snippets.

@sjrd
Created May 28, 2017 08:24
Show Gist options
  • Save sjrd/4af8aa39a6dcbdabc639f99d3f7b3e8f to your computer and use it in GitHub Desktop.
Save sjrd/4af8aa39a6dcbdabc639f99d3f7b3e8f to your computer and use it in GitHub Desktop.
CrossProject Pure with Eclipse, requires 'set every EclipseKeys.useProjectId := true'
scalaVersion in ThisBuild := "2.11.11"
version in ThisBuild := "0.1-SNAPSHOT"
lazy val foo = crossProject.crossType(CrossType.Pure).
settings(
)
lazy val fooJS = foo.js
lazy val fooJVM = foo.jvm
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.16")
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment