forked from dwhjames/aws-wrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
68 lines (47 loc) · 1.71 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
organization in ThisBuild := "com.github.dwhjames"
licenses in ThisBuild += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
scalaVersion in ThisBuild := "2.11.6"
crossScalaVersions in ThisBuild := Seq("2.10.5", "2.11.6")
scalacOptions in ThisBuild ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-Xfuture",
//"-Xlint",
//"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard"
)
scalacOptions in ThisBuild ++= (
if (scalaVersion.value.startsWith("2.10")) Nil
else List("-Ywarn-unused-import")
)
shellPrompt in ThisBuild := CustomShellPrompt.customPrompt
resolvers in ThisBuild ++= Seq(
"typesafe" at "http://repo.typesafe.com/typesafe/releases",
"sonatype" at "http://oss.sonatype.org/content/repositories/releases"
)
lazy val awsWrap = project in file(".")
name := "aws-wrap"
libraryDependencies ++= Seq(
Dependencies.Compile.awsJavaSDK_cloudwatch % "provided",
Dependencies.Compile.awsJavaSDK_dynamodb % "provided",
Dependencies.Compile.awsJavaSDK_s3 % "provided",
Dependencies.Compile.awsJavaSDK_ses % "provided",
Dependencies.Compile.awsJavaSDK_simpledb % "provided",
Dependencies.Compile.awsJavaSDK_sns % "provided",
Dependencies.Compile.awsJavaSDK_sqs % "provided",
Dependencies.Compile.slf4j
)
bintray.Plugin.bintrayPublishSettings
bintray.Keys.packageLabels in bintray.Keys.bintray := Seq("aws", "dynamodb", "s3", "ses", "simpledb", "sns", "sqs", "async", "future")
lazy val awsWrapTest = project.
in(file("integration")).
configs(IntegrationTest).
dependsOn(awsWrap)
lazy val scratch = project.
in(file("scratch")).
dependsOn(awsWrap)