-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
41 lines (36 loc) · 1.18 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
name := "CRDT Kit"
val scala212 = "2.12.3"
val scala211 = "2.11.11"
lazy val root = project.in(file(".")).
aggregate(crdtKitJVM, crdtKitJS)
lazy val crdtKit = crossProject.in(file(".")).
settings(
name := "crdt-kit",
version := "1.0",
scalaVersion := scala212,
organization := "net.sigmalab",
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT")),
homepage := Some(url("https://github.com/schrepfler/crdt-kit")),
publish := {},
publishLocal := {},
libraryDependencies ++= Seq(
"io.jvm.uuid" %% "scala-uuid" % "0.3.1",
"org.scalatest" %% "scalatest" % "3.1.1" % "test",
"org.specs2" %% "specs2-core" % "4.3.5" % "test",
"org.typelevel" %% "cats-core" % "2.1.1"
),
// ensimeIgnoreScalaMismatch in ThisBuild := true
).
jvmSettings(
// Add JVM-specific settings here
).
jsSettings(
jsEnv := new org.scalajs.jsenv.nodejs.NodeJSEnv(),
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-core" % "2.1.1"
)
)
lazy val crdtKitJVM = crdtKit.jvm
lazy val crdtKitJS = crdtKit.js
// reactivate if needing to check which compiler flag is needed
//scalacOptions in ThisBuild ++= Seq("-feature")