forked from mocozno/dynamodb-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (37 loc) · 1.37 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
name := "dynamodb-scala"
version := "0.4.2"
scalaVersion := "2.11.7"
organization := "com.onzo"
lazy val compilerOptions = Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-unchecked",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xfuture"
)
//was missing
scalacOptions ++= compilerOptions
//integration tests should be moved to separate configuration.
resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
resolvers += Resolver.bintrayRepo("dwhjames", "maven")
//library dependencies should be managed in one place.
libraryDependencies += "com.github.dwhjames" %% "aws-wrap" % "0.8.0"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-dynamodb" % "1.10.34" % "provided"
lazy val catsVersion = "0.4.1"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats" % catsVersion,
"com.chuusai" %% "shapeless" % "2.3.0",
"org.scalacheck" %% "scalacheck" % "1.12.5" % "test",
"org.scalatest" %% "scalatest" % "3.0.0-M9" % "test",
"joda-time" % "joda-time" % "2.9" % "test",
"org.joda" % "joda-convert" % "1.8" % "test"
)
// Bintray:
licenses +=("Apache-2.0", url("http://apache.org/licenses/LICENSE-2.0"))
bintrayPackageLabels in bintray := Seq("scala", "dynamo", "dynamodb", "amazon", "utility")
bintrayRepository in bintray := "maven"