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
78 lines (66 loc) · 2.18 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
organization := "com.redbubble"
lazy val buildSettings = Seq(
name := "finch-sangria",
scalaVersion := "2.12.4"
)
enablePlugins(GitVersioning, GitBranchPrompt)
git.useGitDescribe := true
bintrayOrganization := Some("redbubble")
bintrayRepository := "open-source"
bintrayPackageLabels := Seq("finch", "sangria", "graphql")
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"
)
scalacOptions in Test ++= Seq("-Yrangepos")
resolvers ++= Seq(
Resolver.jcenterRepo,
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"),
Resolver.bintrayRepo("redbubble", "open-source"),
"Twitter" at "http://maven.twttr.com"
)
lazy val rbUtilsVersion = "0.2.10"
lazy val catsVersion = "1.0.1"
lazy val mouseVersion = "0.16"
lazy val circeVersion = "0.9.0"
lazy val finchVersion = "0.16.0"
lazy val sangriaVersion = "1.3.3"
lazy val sangriaCirceVersion = "1.2.0"
lazy val specsVersion = "4.0.2"
lazy val slf4jVersion = "1.7.25"
libraryDependencies ++= Seq(
"com.redbubble" %% "rb-scala-utils" % rbUtilsVersion,
"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.slf4j" % "slf4j-api" % slf4jVersion,
"org.specs2" %% "specs2-core" % specsVersion % "test",
"org.specs2" %% "specs2-scalacheck" % specsVersion % "test"
)