-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
139 lines (113 loc) · 4.27 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
name := "Minokov"
version := "0.1"
scalaVersion := "2.12.6"
scalafmtConfig in ThisBuild := Some(file(".scalafmt.conf"))
// slf4j
// https://www.slf4j.org/news.html
val slf4j_api = "org.slf4j" % "slf4j-api" % "1.7.25"
// Scala Logging
// https://github.com/typesafehub/scala-logging
val scala_logging = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.0"
// LogBack
// https://logback.qos.ch/news.html
val logback_core = "ch.qos.logback" % "logback-core" % "1.2.3"
val logBack_classic = "ch.qos.logback" % "logback-classic" % "1.2.3"
// Dispatch
// https://github.com/dispatch/reboot
// FIXME ikeda 2016.12.13
// 2.12 対応を以下で見守る
// https://github.com/dispatch/reboot/issues/134
//val dispatch_core = "net.databinder.dispatch" %% "dispatch-core" % "0.11.2"
val dispatch_core = "net.databinder.dispatch" %% "dispatch-core" % "0.13.3"
// Typesafe Config
// https://github.com/typesafehub/config
val config = "com.typesafe" % "config" % "1.3.2"
// Jwt
// https://github.com/iain-logan/jwt
val jwt = "io.igl" %% "jwt" % "1.2.2"
// spray-json
// https://github.com/spray/spray-json
val sprayJson = "io.spray" %% "spray-json" % "1.3.3"
// redis
// https://github.com/debasishg/scala-redis
val redis_client = "net.debasishg" %% "redisclient" % "3.5"
val module_core_deps = Seq(
slf4j_api,
scala_logging,
logback_core,
logBack_classic,
dispatch_core,
config
)
// mockito
val mockito = "org.mockito" % "mockito-core" % "2.13.0" % "test"
// Specs2
// https://github.com/etorreborre/specs2
val specs2_core = "org.specs2" %% "specs2-core" % "4.0.4"
val specs2_mock = "org.specs2" %% "specs2-mock" % "4.0.4"
val specs2_junit = "org.specs2" %% "specs2-junit" % "4.0.4"
// scalaTest
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.5" % "test"
val module_test = Seq(
mockito,
scalaTest
// specs2_core % Test,
// specs2_mock % Test,
// specs2_junit % Test
// specs2_core,
// specs2_mock,
// specs2_junit
)
libraryDependencies ++= Seq("org.apache.commons" % "commons-lang3" % "3.7", "commons-io" % "commons-io" % "2.6")
libraryDependencies += "io.gatling.highcharts" % "gatling-charts-highcharts" % "2.3.0"
libraryDependencies += "io.gatling" % "gatling-test-framework" % "2.3.0" excludeAll (ExclusionRule(
"com.fasterxml.jackson.core"
), ExclusionRule(
"com.fasterxml.jackson.dataformat"
))
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.6.6"
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.13"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-kinesis" % "1.11.356" excludeAll (ExclusionRule(
"com.fasterxml.jackson.core"
), ExclusionRule(
"com.fasterxml.jackson.dataformat"
))
libraryDependencies += "com.amazonaws" % "aws-java-sdk-dynamodb" % "1.11.356" excludeAll (ExclusionRule(
"com.fasterxml.jackson.core"
), ExclusionRule(
"com.fasterxml.jackson.dataformat"
))
//--
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-core" % "2.8.9"
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.8.9"
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-annotations" % "2.8.9"
libraryDependencies += "com.fasterxml.jackson.dataformat" % "jackson-dataformat-cbor" % "2.8.9"
//---
libraryDependencies ++= module_core_deps
libraryDependencies ++= module_test
//enablePlugins(CloudformationPlugin)
//enablePlugins(ServerlessPlugin)
//---
// akka
//libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.5.14"
//libraryDependencies += "com.typesafe.akka" %% "akka-stream-experimental_2.11" % "1.0-M3"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.16",
"com.typesafe.akka" %% "akka-testkit" % "2.5.16" % Test
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.5.16",
"com.typesafe.akka" %% "akka-stream-testkit" % "2.5.16" % Test
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.1.5",
"com.typesafe.akka" %% "akka-http-testkit" % "10.1.5" % Test
)
libraryDependencies +=
"com.typesafe.akka" %% "akka-cluster" % "2.5.16"
libraryDependencies +=
"com.typesafe.akka" %% "akka-cluster-sharding" % "2.5.16"
libraryDependencies +=
"com.typesafe.akka" %% "akka-distributed-data" % "2.5.16"
libraryDependencies +=
"com.typesafe.akka" %% "akka-persistence" % "2.5.16"