-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (33 loc) · 1.12 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
val commonSettings = Seq(
organization := "com.repocad",
version := "0.1-SNAPSHOT",
normalizedName ~= {
_.replace("scala-js", "scalajs")
},
homepage := Some(url("http://repocad.com/")),
licenses +=("GPLv3", url("https://opensource.org/licenses/GPL-3.0")),
scalaVersion := "2.11.8",
scalacOptions ++= Seq(
"-Xlint",
"-deprecation",
"-unchecked",
"-feature",
"-encoding", "utf8"
)
)
lazy val reposcript = RootProject(uri("git://github.com/repocad/reposcript"))
lazy val core = project.in(file("."))
.settings(commonSettings: _*)
.settings(
name := "Repocad core",
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.0",
"org.scala-lang.modules" %% "scala-async" % "0.9.6",
"org.scalatest" %%% "scalatest" % "3.0.0" % Test,
"org.scalacheck" %% "scalacheck" % "1.13.2" % Test
),
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
unmanagedJars in Compile := (Seq(Attributed.blank((packageBin in reposcript in Compile).value)))
)
.dependsOn(reposcript)
.enablePlugins(ScalaJSPlugin)