summaryrefslogtreecommitdiff
path: root/examples/crossBuilds/clientserver/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/crossBuilds/clientserver/build.sbt')
-rw-r--r--examples/crossBuilds/clientserver/build.sbt9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/crossBuilds/clientserver/build.sbt b/examples/crossBuilds/clientserver/build.sbt
index 618ac8a..457c5b1 100644
--- a/examples/crossBuilds/clientserver/build.sbt
+++ b/examples/crossBuilds/clientserver/build.sbt
@@ -7,7 +7,8 @@ val sharedSettings = Seq(
libraryDependencies ++= Seq(
"com.scalatags" %%% "scalatags" % "0.4.2",
"com.lihaoyi" %%% "upickle" % "0.2.5"
- )
+ ),
+ scalaVersion := "2.11.4"
)
lazy val client = project.in(file("client"))
@@ -21,6 +22,8 @@ lazy val client = project.in(file("client"))
lazy val server = project.in(file("server"))
.settings(sharedSettings:_*)
+ .settings(com.lihaoyi.workbench.Plugin.workbenchSettings:_*)
+ .settings(spray.revolver.RevolverPlugin.Revolver.settings:_*)
.settings(
libraryDependencies ++= Seq(
"io.spray" %% "spray-can" % "1.3.2",
@@ -30,5 +33,7 @@ lazy val server = project.in(file("server"))
(resources in Compile) += {
(fastOptJS in (client, Compile)).value
(artifactPath in (client, Compile, fastOptJS)).value
- }
+ },
+ bootSnippet := "",
)
+