forked from ChrisWhealy/OpenUI5Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
29 lines (22 loc) · 1016 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
name := "openui5demo"
version := "0.3"
scalaVersion := "2.12.8"
scalacOptions += "-P:scalajs:sjsDefinedByDefault"
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.7"
// ,"org.scala-js" %%% "scalajs-java-time" % "0.2.5"
,"be.doeraene" %%% "scalajs-jquery" % "0.9.5"
,"org.querki" %%% "querki-jsext" % "0.8"
// ,"org.scala-lang" % "scala-reflect" % scalaVersion.value
// ,"com.lihaoyi" %% "sourcecode" % "0.1.7" // Scala-JVM
,"com.lihaoyi" %%% "sourcecode" % "0.1.7" // 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"
)
enablePlugins(WorkbenchPlugin)
// bootSnippet is used by SBT to auto-reload the web page
// bootSnippet := "OpenUI5Demo.main('weatherDiv');"
// updateBrowsers := updateBrowsers.triggeredBy(fastOptJS in Compile).value
publishArtifact in (Compile, packageSrc) := false