-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
70 lines (52 loc) · 2.35 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
63
64
65
66
67
68
69
70
name := "scala2neo"
version := "0.1"
scalaVersion := "2.12.4"
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
enablePlugins(AshScriptPlugin)
enablePlugins(DockerComposePlugin)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.1.0-RC1",
"com.typesafe.akka" %% "akka-stream" % "2.5.8"
)
val circeVersion = "0.9.0"
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % circeVersion)
libraryDependencies += "io.circe" %% "circe-optics" % circeVersion
// https://mvnrepository.com/artifact/de.heikoseeberger/akka-http-circe
libraryDependencies += "de.heikoseeberger" %% "akka-http-circe" % "1.19.0"
val monocleVersion = "1.5.0" // 1.5.0-cats based on cats 1.0.x
libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-macro" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-law" % monocleVersion % "test"
)
addCompilerPlugin(
"org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full
)
libraryDependencies += "org.typelevel" %% "cats-core" % "1.0.1"
// Regular (JVM) Scala projects:
libraryDependencies += "com.wix" %% "accord-core" % "0.7.2"
libraryDependencies += "com.wix" %% "accord-scalatest" % "0.7.2" % "test"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.4"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % "test"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
libraryDependencies += "org.scalamock" %% "scalamock" % "4.1.0" % Test
// https://mvnrepository.com/artifact/org.scalamock/scalamock-scalatest-support
libraryDependencies += "org.scalamock" %% "scalamock-scalatest-support" % "3.6.0" % Test
libraryDependencies ++= Seq(
"com.michaelpollmeier" %% "gremlin-scala" % "3.3.1.2"
)
// https://mvnrepository.com/artifact/com.orientechnologies/orientdb-gremlin
libraryDependencies += "com.orientechnologies" % "orientdb-gremlin" % "2.2.32"
libraryDependencies += "org.typelevel" %% "cats-effect" % "0.10"
dockerBaseImage := "openjdk:jre-alpine"
dockerRepository := Some("thealmikey")
dockerExposedPorts.in(Docker) := Seq(8989)
daemonUser.in(Docker) := "root"
mainClass in Compile := Some("com.neo4scala.MainOne")
version.in(Docker) := "0.2.2"
dockerImageCreationTask := (publishLocal in Docker).value