forked from pragmukko/pragmukko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
62 lines (51 loc) · 2.62 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
55
56
57
58
59
60
61
62
/*
* Copyright 2015-2016 Pragmukko Project [http://github.org/pragmukko]
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* [http://www.apache.org/licenses/LICENSE-2.0]
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
name := "Swarmakka"
version := "1.2.12"
scalaVersion := "2.11.7"
excludeFilter in unmanagedSources := HiddenFileFilter || "licenseAppender.scala"
artifact in (Compile, assembly) := {
val art = (artifact in (Compile, assembly)).value
art.copy(`classifier` = Some("assembly"))
}
//addArtifact(artifact in (Compile, assembly), assembly).settings
resolvers ++= Seq(
"Akka Snapshot Repository" at "http://repo.akka.io/snapshots/",
"Paho Official Releases" at "https://repo.eclipse.org/content/repositories/paho-releases/",
"Paho Nightly Snapshots" at "https://repo.eclipse.org/content/repositories/paho-snapshots/",
Resolver.bintrayRepo("hseeberger", "maven")
)
mainClass in (Compile, run) := Some("Main")
scalacOptions := Seq("-unchecked", "-feature", "-language:postfixOps", "-deprecation", "-Xfatal-warnings", "-Xlint:_", "-encoding", "utf8")
libraryDependencies ++= {
val akkaV = "2.4.1"
val akkaStreamV = "2.0.1"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-cluster" % akkaV,
"com.typesafe.akka" %% "akka-slf4j" % akkaV,
"com.typesafe.akka" %% "akka-cluster-tools" % akkaV,
"com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-core-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-testkit-experimental" % akkaStreamV % "test",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"org.specs2" %% "specs2-core" % "3.6.6" % "test",
"org.eclipse.paho" % "org.eclipse.paho.client.mqttv3" % "1.0.2",
"com.sandinh" %% "paho-akka" % "1.2.0",
"de.heikoseeberger" %% "akka-sse" % "1.4.0"
)
}