-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
64 lines (54 loc) · 2.18 KB
/
build.sbt
File metadata and controls
64 lines (54 loc) · 2.18 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
name := "Mars"
version := "0.1"
scalaVersion := "2.12.6"
scalacOptions := Seq("-unchecked", "-deprecation")
/*
* ASSEMBLY PLUGIN
*/
assemblyJarName in assembly := "mars.jar"
mainClass in assembly := Some("org.kys.mars.Processor")
val meta = """.*(RSA|DSA)$""".r
// Hax to get .jar to execute
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) =>
xs.map(_.toLowerCase) match {
case ("manifest.mf" :: Nil) |
("index.list" :: Nil) |
("dependencies" :: Nil) |
("bckey.dsa" :: Nil) => MergeStrategy.discard
case _ => MergeStrategy.first
}
case PathList("reference.conf") | PathList("application.conf") => MergeStrategy.concat
case PathList(_*) => MergeStrategy.first
}
resolvers += "Spring-plugins" at "http://repo.spring.io/plugins-release/"
val http4sVersion = "0.18.11"
val circeVersion = "0.9.3"
val enumeratumVersion = "1.5.13"
val ackcordVersion = "0.10.0"
libraryDependencies ++= Seq(
"com.github.pureconfig" %% "pureconfig" % "0.9.1",
"com.github.pureconfig" %% "pureconfig-enumeratum" % "0.9.1",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"com.github.pukkaone" % "logback-gelf" % "1.1.10",
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-literal" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-literal" % circeVersion,
"com.beachape" %% "enumeratum" % enumeratumVersion,
"com.beachape" %% "enumeratum-circe" % enumeratumVersion,
"com.beachape" %% "enumeratum" % "1.5.13",
"com.beachape" %% "enumeratum-circe" % "1.5.17",
"io.monix" %% "monix" % "3.0.0-RC1",
"com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.14",
"com.softwaremill.sttp" %% "core" % "1.1.14",
"com.softwaremill.sttp" %% "circe" % "1.1.14",
"net.katsstuff" %% "ackcord" % ackcordVersion,
"net.katsstuff" %% "ackcord-core" % ackcordVersion,
"net.katsstuff" %% "ackcord-commands-core" % ackcordVersion,
"com.softwaremill.retry" %% "retry" % "0.3.0")
addCompilerPlugin(
"org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full
)