-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
38 lines (28 loc) · 819 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
enablePlugins(ScalaJSPlugin)
name := "charecter viewer root project"
lazy val root = project.in(file(".")).
aggregate(cVJS, cVJVM).
settings(
scalaVersion := "2.11.7",
publish := {},
publishLocal := {}
)
lazy val cV = crossProject.in(file(".")).
settings(
name := "charecter viewer",
scalaVersion := "2.11.7"
).
jvmSettings().
jsSettings(
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.8.2",
libraryDependencies += "be.doeraene" %%% "scalajs-jquery" % "0.8.0",
jsDependencies += RuntimeDOM,
skip in packageJSDependencies := false,
persistLauncher in Compile := true,
persistLauncher in Test := true,
scalaJSUseRhino in Global := false
)
persistLauncher in Compile := true
persistLauncher in Test := true
lazy val cVJVM = cV.jvm
lazy val cVJS = cV.js