-
Notifications
You must be signed in to change notification settings - Fork 7
/
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"
ThisBuild / version ~= (_ + s"_$akkaVersion")
lazy val akkaVersion = Option(System.getProperty("akkaVersion")).getOrElse(defaultAkkaVersion)
lazy val defaultAkkaVersion = "2.6.14"
scalaVersion := "2.13.5"
lazy val gremlinVersion = "3.4.4"
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.9.1",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.log4s" %% "log4s" % "1.9.0",
"com.iheart" %% "ficus" % "1.4.7"
) ++ macwireDeps ++ scalaCacheDeps ++ gremlinDeps ++ testDeps
lazy val macwireDeps = Seq("macros", "util").map("com.softwaremill.macwire" %% _ % "2.3.7")
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.28.0")
lazy val testDeps = Seq("org.scalatest" %% "scalatest" % "3.0.9", "org.slf4j" % "slf4j-simple" % "1.7.5").map(_ % "test")
dependencyOverrides += "commons-io" % "commons-io" % "2.4"
Test / fork := 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:git@github.com:mikolak-net/travesty.git"
)
)
developers := List(
Developer(id = "mikolak-net", name = "Mikołaj Koziarkiewicz", email = "", url = url("http://mikolak.net"))
)