This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
118 lines (103 loc) · 4.07 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
import sbt.Resolver
organization := "com.redbubble"
name := "rb-scala-utils"
scalaVersion := "2.12.4"
enablePlugins(GitVersioning, GitBranchPrompt)
git.useGitDescribe := true
bintrayOrganization := Some("redbubble")
bintrayRepository := "open-source"
bintrayPackageLabels := Seq("scala", "utilities", "util", "circe", "cats", "finagle", "finch")
licenses += ("BSD New", url("https://opensource.org/licenses/BSD-3-Clause"))
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-Xlint",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-language:reflectiveCalls",
"-unchecked",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xfuture",
"-Xlint",
//"-Yno-predef",
//"-Ywarn-unused-import", // gives false positives
"-Xfatal-warnings",
"-Ywarn-value-discard",
"-Ypartial-unification"
)
resolvers ++= Seq(
Resolver.jcenterRepo,
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"),
"Twitter" at "http://maven.twttr.com",
Resolver.bintrayRepo("redbubble", "open-source")
)
scalacOptions in Test ++= Seq("-Yrangepos")
lazy val catsVersion = "1.0.1"
lazy val mouseVersion = "0.16"
lazy val circeVersion = "0.9.0"
// The version numbers for Finagle, Twitter, Finch & Catbird *must* work together. See the Finch build.sbt for known good versions.
lazy val finchVersion = "0.16.0"
lazy val finagleVersion = "17.12.0"
lazy val finagleHttpAuthVersion = "0.1.0"
lazy val twitterServerVersion = "1.30.0"
lazy val catBirdVersion = "17.12.0"
lazy val sangriaVersion = "1.3.3"
lazy val sangriaCirceVersion = "1.2.0"
lazy val scalaJava8CompatVersion = "0.8.0"
lazy val featherbedVersion = "0.3.3"
lazy val jodaTimeVersion = "2.9.9"
lazy val jodaConvertVersion = "1.9.2"
lazy val scalaCacheVersion = "0.10.0"
lazy val chillVersion = "0.9.2"
lazy val scalaUriVersion = "0.4.16"
lazy val fetchVersion = "0.7.1"
lazy val slf4jVersion = "1.7.25"
lazy val logbackVersion = "1.2.3"
lazy val rollbarVersion = "0.5.4"
lazy val nrVersion = "3.40.0"
lazy val metricsVersion = "4.0.1"
lazy val metricsNewRelicVersion = "1.1.1"
lazy val specsVersion = "4.0.2"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "mouse" % mouseVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.github.finagle" %% "finch-core" % finchVersion,
"com.github.finagle" %% "finch-circe" % finchVersion,
"org.sangria-graphql" %% "sangria" % sangriaVersion,
"org.sangria-graphql" %% "sangria-relay" % sangriaVersion,
"org.sangria-graphql" %% "sangria-circe" % sangriaCirceVersion,
"org.scala-lang.modules" %% "scala-java8-compat" % scalaJava8CompatVersion,
"joda-time" % "joda-time" % jodaTimeVersion,
"org.joda" % "joda-convert" % jodaConvertVersion,
"com.twitter" %% "finagle-http" % finagleVersion,
"com.twitter" %% "finagle-stats" % finagleVersion,
"com.github.finagle" %% "finagle-http-auth" % finagleHttpAuthVersion,
"com.github.finagle" %% "finch-core" % finchVersion,
"com.github.finagle" %% "finch-circe" % finchVersion,
"io.catbird" %% "catbird-finagle" % catBirdVersion,
"com.netaporter" %% "scala-uri" % scalaUriVersion,
"com.47deg" %% "fetch" % fetchVersion,
"com.redbubble" %% "featherbed-core" % featherbedVersion,
"com.redbubble" %% "featherbed-circe" % featherbedVersion,
"io.dropwizard.metrics" % "metrics-core" % metricsVersion,
"com.palominolabs.metrics" % "metrics-new-relic" % metricsNewRelicVersion,
"com.github.cb372" %% "scalacache-caffeine" % scalaCacheVersion,
"com.github.cb372" %% "scalacache-redis" % scalaCacheVersion,
"com.twitter" %% "chill" % chillVersion,
"ch.qos.logback" % "logback-core" % logbackVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"org.slf4j" % "slf4j-api" % slf4jVersion,
"org.slf4j" % "jul-to-slf4j" % slf4jVersion,
"com.rollbar" % "rollbar" % rollbarVersion,
"org.specs2" %% "specs2-core" % specsVersion % "test",
"org.specs2" %% "specs2-scalacheck" % specsVersion % "test"
)