-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (32 loc) · 1.1 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
import sbt._
lazy val commonSettings = Seq(
organization := "com.autoscout24",
version := Option(System.getenv("GO_PIPELINE_LABEL")) getOrElse "1.0-SNAPSHOT",
scalaVersion in ThisBuild := "2.11.8",
scalacOptions in ThisBuild ++= Seq("-unchecked",
"-deprecation",
"-feature",
"-Xfatal-warnings",
"-Xmax-classfile-name", "130"),
// skip generation of api scaladocs
doc in Compile <<= target.map(_ / "none"),
// skip generation of api javadocs
publishArtifact in (Compile, packageDoc) := false,
// skip packaging of sources
publishArtifact in (Compile, packageSrc) := false,
// AWS credentials are needed for local tests on the dynamoDB
javaOptions in ThisBuild ++= Seq("-Daws.accessKeyId=USERID", "-Daws.secretKey=PASSWORD")
)
name := "delete-s3-bucket"
libraryDependencies ++= Seq(
"com.amazonaws" % "aws-java-sdk-s3" % "1.10.64",
"com.typesafe" % "config" % "1.3.0"
)
javaOptions in Runtime ++= Seq(
"-Dconfig.resource=as24dev.conf"
)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.settings(
cleanFiles <+= baseDirectory { _ / "logs" }
)