This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.sbt
68 lines (61 loc) · 2.05 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
val playVersion = "2.7.0"
lazy val root = (project in file("."))
.settings(
name := "play-s3",
organization := "net.kaliber",
scalaVersion := "2.12.2",
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-ws" % playVersion % "provided",
"com.typesafe.play" %% "play-test" % playVersion % "test",
"com.typesafe.play" %% "play-specs2" % playVersion % "test",
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"com.typesafe.play" %% "play-ahc-ws" % playVersion % "test",
"com.typesafe.play" %% "play-logback" % playVersion % "test",
"commons-codec" % "commons-codec" % "1.11" % "provided",
"com.typesafe.play" % "shaded-asynchttpclient" % "2.0.1" % "provided"
)
)
.settings(bintraySettings: _*)
lazy val bintraySettings = Seq(
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
homepage := Some(url("https://github.com/kaliber-scala/play-s3")),
bintrayOrganization := Some("kaliber-scala"),
bintrayReleaseOnPublish := false,
publishMavenStyle := true,
crossScalaVersions := Seq("2.12.2", "2.11.6"),
releaseCrossBuild := true,
pomExtra := (
<scm>
<connection>scm:git@github.com:kaliber-scala/play-s3.git</connection>
<developerConnection>scm:git@github.com:kaliber-scala/play-s3.git</developerConnection>
<url>https://github.com/kaliber-scala/play-s3</url>
</scm>
<developers>
<developer>
<id>Kaliber</id>
<name>Kaliber Interactive</name>
<url>https://kaliber.net/</url>
</developer>
</developers>
)
)
scalacOptions ++= Seq("-feature", "-deprecation")
parallelExecution in Test := false
releaseIgnoreUntrackedFiles := true
// Release
import ReleaseTransformations._
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
releaseStepTask(bintrayRelease in root),
setNextVersion,
commitNextVersion,
pushChanges
)