-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
55 lines (47 loc) · 1.86 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
lazy val projectName = "scala-aws"
lazy val projectOrganization = "com.earnest"
name := projectName
conflictManager := ConflictManager.latestRevision // this is the default, but we set it explicitly for IDEA. See: https://youtrack.jetbrains.com/issue/SCL-7646
organization := projectOrganization
cancelable in Global := true
scalacOptions ++= Seq (
"-Xfatal-warnings",
"-Xfuture",
"-Xlint",
"-deprecation",
"-unchecked",
"-Yno-adapted-args",
"-Ypartial-unification",
"-Ywarn-unused-import",
"-Ywarn-value-discard",
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:higherKinds")
scalacOptions in (Compile, console) := scalacOptions.value filterNot Set ("-Ywarn-unused-import", "-Ywarn-value-discard")
scalaVersion := "2.12.7"
updateOptions := updateOptions.value.withCachedResolution (true)
publishMavenStyle := false
dependencyOverrides += "org.typelevel" %% "cats-core" % "1.4.0" // latest cats-effect still relies on cats-core 1.3.1, but it is binary-compatible with 1.4.0
lazy val rootSettings = Seq.empty
lazy val libVersions = new Object {
val circe = "0.10.0"
val awsSdk = "1.11.82"
}
lazy val libraries = Seq (
"com.amazonaws" % "aws-java-sdk-s3" % libVersions.awsSdk,
"com.amazonaws" % "aws-java-sdk-sqs" % libVersions.awsSdk,
"io.circe" %% "circe-core" % libVersions.circe,
"io.circe" %% "circe-generic" % libVersions.circe,
"io.circe" %% "circe-parser" % libVersions.circe,
"org.typelevel" %% "cats-core" % "1.4.0",
"org.typelevel" %% "cats-effect" % "1.0.0-1182d8c",
"org.scalacheck" %% "scalacheck" % "1.13.4"
)
lazy val testLibraries = Seq (
"org.scalatest" %% "scalatest" % "3.0.5"
)
libraryDependencies ++= libraries
libraryDependencies ++= testLibraries map (_ % Test)
addCompilerPlugin ("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
addCompilerPlugin ("org.spire-math" %% "kind-projector" % "0.9.3")