forked from mikolak-net/travesty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
55 lines (44 loc) · 2.21 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
organization := "net.mikolak"
name := "travesty"
version in ThisBuild ~= (_ + s"_$akkaVersion")
lazy val akkaVersion = Option(System.getProperty("akkaVersion")).getOrElse(defaultAkkaVersion)
lazy val defaultAkkaVersion = "2.5.17"
scalaVersion := "2.12.7"
lazy val gremlinVersion = "3.3.0"
resolvers += "indvd00m-github-repo" at "https://raw.githubusercontent.com/indvd00m/maven-repo/master/repository"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"guru.nidi" % "graphviz-java" % "0.2.2",
//TODO: "com.github.mdr" %% "ascii-graphs" % "0.0.3", pending 2.12
"com.indvd00m.ascii.render" % "ascii-render" % "1.2.1", //used instead of above^
"org.scala-lang.modules" %% "scala-java8-compat" % "0.8.0",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.log4s" %% "log4s" % "1.4.0",
"com.iheart" %% "ficus" % "1.4.3"
) ++ macwireDeps ++ scalaCacheDeps ++ gremlinDeps ++ testDeps
lazy val macwireDeps = Seq("macros", "util").map("com.softwaremill.macwire" %% _ % "2.3.0")
lazy val gremlinDeps = Seq("com.michaelpollmeier" %% "gremlin-scala" % s"$gremlinVersion.4",
"org.apache.tinkerpop" % "tinkergraph-gremlin" % gremlinVersion)
lazy val scalaCacheDeps = Seq("core", "caffeine").map(n => "com.github.cb372" %% s"scalacache-$n" % "0.22.0")
lazy val testDeps = Seq("org.scalatest" %% "scalatest" % "3.0.4", "org.slf4j" % "slf4j-simple" % "1.7.5").map(_ % "test")
dependencyOverrides += "commons-io" % "commons-io" % "2.4"
fork in Test := true
//Sonatype OSS stuff (based on https://github.com/xerial/sbt-sonatype )
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
publishMavenStyle := true
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/mikolak-net/travesty"))
scmInfo := Some(
ScmInfo(
url("https://github.com/mikolak-net/travesty"),
"scm:[email protected]:mikolak-net/travesty.git"
)
)
developers := List(
Developer(id = "mikolak-net", name = "Mikołaj Koziarkiewicz", email = "", url = url("http://mikolak.net"))
)