/
Dependencies.scala
84 lines (80 loc) · 4.51 KB
/
Dependencies.scala
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
/*
* Copyright (c) 2013-2016 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the Apache License Version 2.0 is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
*/
import sbt._
object Dependencies {
val resolutionRepos = Seq(
// For Snowplow
"Snowplow Analytics Maven releases repo" at "http://maven.snplow.com/releases/",
"Snowplow Analytics Maven snapshot repo" at "http://maven.snplow.com/snapshots/",
// For Scalazon
"BintrayJCenter" at "http://jcenter.bintray.com",
// For uaParser utils
"user-agent-parser repo" at "https://clojars.org/repo/",
// For user-agent-utils
"user-agent-utils repo" at "https://raw.github.com/HaraldWalker/user-agent-utils/mvn-repo/"
)
object V {
// Java
val logging = "1.1.3"
val httpCore = "4.3"
val httpClient = "4.3.1"
val jacksonCore = "2.3.0"
val slf4j = "1.7.5"
val awsSdk = "1.6.11"
val kinesisClient = "1.6.1"
// Scala
val argot = "1.0.1"
val config = "1.0.2"
val scalaUtil = "0.1.0"
val snowplowRawEvent = "0.1.0"
val snowplowCommonEnrich = "0.24.0"
val scalazon = "0.11"
val scalaz7 = "7.0.0"
val igluClient = "0.4.0"
val snowplowTracker = "0.3.0"
// Scala (test only)
// val specs2 = "2.3.6" Conflicts with com.chuusai:shapeless
val specs2 = "2.2.3"
val scalazSpecs2 = "0.1.2"
// Scala (compile only)
val commonsLang3 = "3.1"
val thrift = "0.9.0"
}
object Libraries {
// Java
val logging = "commons-logging" % "commons-logging" % V.logging
val httpCore = "org.apache.httpcomponents" % "httpcore" % V.httpCore
val httpClient = "org.apache.httpcomponents" % "httpclient" % V.httpClient
val jacksonCore = "com.fasterxml.jackson.core" % "jackson-core" % V.jacksonCore
val slf4j = "org.slf4j" % "slf4j-simple" % V.slf4j
val log4jOverSlf4j = "org.slf4j" % "log4j-over-slf4j" % V.slf4j
val awsSdk = "com.amazonaws" % "aws-java-sdk" % V.awsSdk
val kinesisClient = "com.amazonaws" % "amazon-kinesis-client" % V.kinesisClient
// Scala
val argot = "org.clapper" %% "argot" % V.argot
val config = "com.typesafe" % "config" % V.config
val scalaUtil = "com.snowplowanalytics" % "scala-util" % V.scalaUtil
val snowplowRawEvent = "com.snowplowanalytics" % "snowplow-thrift-raw-event" % V.snowplowRawEvent
val snowplowCommonEnrich = "com.snowplowanalytics" % "snowplow-common-enrich" % V.snowplowCommonEnrich
val scalazon = "io.github.cloudify" %% "scalazon" % V.scalazon
val scalaz7 = "org.scalaz" %% "scalaz-core" % V.scalaz7
val igluClient = "com.snowplowanalytics" %% "iglu-scala-client" % V.igluClient
val snowplowTracker = "com.snowplowanalytics" %% "snowplow-scala-tracker" % V.snowplowTracker
// Scala (test only)
val specs2 = "org.specs2" %% "specs2" % V.specs2 % "test"
val scalazSpecs2 = "org.typelevel" %% "scalaz-specs2" % V.scalazSpecs2 % "test"
// Scala (compile only)
val commonsLang3 = "org.apache.commons" % "commons-lang3" % V.commonsLang3 % "compile"
val thrift = "org.apache.thrift" % "libthrift" % V.thrift % "compile"
}
}