-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (51 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
val formrx = crossProject.settings(
version := "1.1.2",
name := "formrx",
scalaVersion := "2.11.8",
organization := "com.stabletechs",
testFrameworks += new TestFramework("utest.runner.Framework"),
addCompilerPlugin("com.lihaoyi" %% "acyclic" % "0.1.3"),
libraryDependencies ++= Seq(
"com.stabletechs" %%% "likelib" % "0.1.2",
"com.lihaoyi" %%% "scalarx" % "0.3.1",
"com.lihaoyi" %%% "scalatags" % "0.5.5",
"com.lihaoyi" %%% "utest" % "0.3.1" % "test",
"org.scala-lang" % "scala-reflect" % scalaVersion.value
),
scmInfo := Some(ScmInfo(
url("https://github.com/Voltir/form.rx"),
"scm:git:[email protected]/Voltir/form.rx.git",
Some("scm:git:[email protected]/Voltir/form.rx.git"))
),
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
sonatypeProfileName := "com.stabletechs",
homepage := Some(url("http://stabletechs.com/")),
licenses += ("MIT License", url("http://www.opensource.org/licenses/mit-license.php")),
pomExtra :=
<developers>
<developer>
<id>Voltaire</id>
<name>Nick Childers</name>
<url>https://github.com/voltir/</url>
</developer>
</developers>
,
pomIncludeRepository := { _ => false }
).jsSettings(
jsDependencies += RuntimeDOM % "test",
preLinkJSEnv := PhantomJSEnv().value,
scalaJSStage in Test := FullOptStage,
scalaJSUseRhino in Global := false,
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.0"
)
)
lazy val formrxJVM = formrx.jvm
lazy val formrxJS = formrx.js