-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
71 lines (54 loc) · 2.15 KB
/
build.sbt
File metadata and controls
71 lines (54 loc) · 2.15 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
organization in ThisBuild := "nl.lpdiy"
name := """incubator"""
description in ThisBuild := """DIY Incubator"""
version in ThisBuild := "0.1.0"
scalaVersion := "2.11.6"
scalaVersion in ThisBuild := scalaVersion.value
publishMavenStyle := true
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
javacOptions ++= Seq("-encoding", "UTF-8")
resolvers in ThisBuild ++= Seq(
"Spray repo" at "http://repo.spray.io/",
"Sonatype releases" at "http://oss.sonatype.org/content/repositories/releases/",
"Sonatype OSS Maven Repository" at "https://oss.sonatype.org/content/groups/public",
"Typesafe repo" at "http://repo.typesafe.com/typesafe/releases/"
)
dependencyOverrides in ThisBuild ++= Set(
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.scala-lang" % "scala-library" % scalaVersion.value
)
scalacOptions += "-target:jvm-1.8"
javacOptions ++= Seq("-encoding", "UTF-8")
libraryDependencies in ThisBuild ++= Seq(
"nl.lpdiy" %% "pishake-common" % "0.1.0",
"org.elasticsearch" % "elasticsearch" % "1.5.0",
"io.spray" %% "spray-can" % "1.3.3",
"io.spray" %% "spray-routing" % "1.3.3",
"org.json4s" %% "json4s-native" % "3.2.11",
"com.typesafe.akka" %% "akka-actor" % "2.3.9",
"com.typesafe.akka" %% "akka-remote" % "2.3.9",
"com.typesafe.akka" %% "akka-slf4j" % "2.3.9",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"org.slf4j" % "slf4j-api" % "1.7.10",
"ch.qos.logback" % "logback-classic" % "1.1.2",
"com.typesafe" % "config" % "1.3.0-M1"
)
lazy val root = Project(id = "incubator", base = file(".")).settings(
packagedArtifacts in file(".") := Map.empty,
run := {
(run in assembly in Compile).evaluated
}
).aggregate(
core, assembly
).disablePlugins(sbtassembly.AssemblyPlugin)
lazy val core = Project(id = "incubator-core", base = file("core")).settings(
libraryDependencies ++= Seq(
)
)
lazy val assembly = Project(id = "incubator-assembly", base = file("assembly")).settings(
libraryDependencies ++= Seq(
"nl.lpdiy" %% "pishake-server" % "0.1.0",
"com.pi4j" % "pi4j-core" % "1.0-SNAPSHOT"
)
).dependsOn(core)
spray.revolver.RevolverPlugin.Revolver.settings.settings