-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
74 lines (54 loc) · 1.93 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
69
70
71
72
73
74
name := "massive-attack"
crossScalaVersions := Seq("2.12.6", "2.11.12")
organization := "com.delprks"
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
publishTo := {
val isSnapshotValue = isSnapshot.value
val nexus = "https://oss.sonatype.org/"
if (isSnapshotValue) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
publishArtifact in Test := false
parallelExecution in Test := false
releaseCrossBuild := true
sbtrelease.ReleasePlugin.autoImport.releasePublishArtifactsAction := PgpKeys.publishSigned.value
sbtrelease.ReleasePlugin.autoImport.releaseCrossBuild := false
SbtPgp.autoImport.useGpg := true
SbtPgp.autoImport.useGpgAgent := true
libraryDependencies ++= Seq(
"com.twitter" %% "util-core" % "18.5.0",
"com.typesafe.akka" %% "akka-actor" % "2.5.13",
"com.typesafe.akka" %% "akka-testkit" % "2.5.13" % Test,
"org.scalatest" %% "scalatest" % "3.0.5" % Test
)
releaseTagComment := s"Releasing ${(version in ThisBuild).value}"
releaseCommitMessage := s"= Setting version to ${(version in ThisBuild).value}"
pomIncludeRepository := {
_ => false
}
pomExtra := {
<url>https://github.com/delprks/massive-attack</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:delprks/massive-attack.git</url>
<connection>scm:[email protected]:delprks/massive-attack.git</connection>
</scm>
<developers>
<developer>
<id>delprks</id>
<name>Daniel Parks</name>
<url>http://github.com/delprks</url>
</developer>
</developers>
}
connectInput in run := true
fork in run := true
lazy val root = project in file(".")