-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
32 lines (24 loc) · 1.03 KB
/
Copy pathbuild.sbt
File metadata and controls
32 lines (24 loc) · 1.03 KB
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
import com.lihaoyi.workbench.Plugin.{bootSnippet, updateBrowsers}
enablePlugins(ScalaJSPlugin)
workbenchSettings
name := "openui5demo"
version := "0.1"
scalaVersion := "2.12.2"
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.1"
,"org.scala-js" %%% "scalajs-java-time" % "0.2.2"
,"be.doeraene" %%% "scalajs-jquery" % "0.9.2"
,"org.querki" %%% "querki-jsext" % "0.8"
,"org.scala-lang" % "scala-reflect" % scalaVersion.value
,"com.lihaoyi" %% "sourcecode" % "0.1.4" // Scala-JVM
,"com.lihaoyi" %%% "sourcecode" % "0.1.4" // Scala.js / Scala Native
)
jsDependencies ++= Seq(
"org.webjars.npm" % "leaflet" % "0.7.7" / "dist/leaflet.js"
,"org.webjars" % "jquery" % "2.1.3" / "2.1.3/jquery.js"
)
// bootSnippet is used by SBT to auto-reload the web page
bootSnippet := "OpenUI5Demo.main('weatherDiv');"
updateBrowsers <<= updateBrowsers.triggeredBy(fastOptJS in Compile)
publishArtifact in packageDoc:= false
publishArtifact in packageSrc:= false