-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
33 lines (23 loc) · 1.01 KB
/
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
name := "gui"
organization := "com.github.propi.rdfrules"
version := "1.8.0"
scalaVersion := "2.13.8"
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")
//scalacOptions += "-P:scalajs:sjsDefinedByDefault"
scalaJSUseMainModuleInitializer := true
//jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()
//scalaJSLinkerConfig ~= { _.withOptimizer(false) }
//libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.1.0"
//libraryDependencies += "com.thoughtworks.binding" %%% "binding" % "12.1.0"
//libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "1.1.0"
libraryDependencies += "org.lrng.binding" %%% "html" % "latest.release"
libraryDependencies += "org.scala-js" %%% "scalajs-java-securerandom" % "1.0.0"
scalacOptions ++= {
import Ordering.Implicits._
if (VersionNumber(scalaVersion.value).numbers >= Seq(2L, 13L)) {
Seq("-Ymacro-annotations")
} else {
Nil
}
}
//addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)