-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
56 lines (52 loc) · 1.92 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
lazy val publishSettings = Seq(
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
pomExtra := (
<url>https://github.com/divergence082/Beanstalker</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:divergence082/Beanstalker.git</url>
<connection>scm:git:[email protected]:divergence082/Beanstalker.git</connection>
</scm>
<developers>
<developer>
<id>divergence082</id>
<name>Valeria Kononenko</name>
<email>[email protected]</email>
<url>https://github.com/divergence082</url>
</developer>
</developers>)
)
lazy val beanstalker = Project(
id = "beanstalker",
base = file("."),
settings = Defaults.coreDefaultSettings ++ Defaults.itSettings ++ publishSettings ++ Seq(
organization := "space.divergence",
name := "beanstalker",
version := "0.0.1",
scalaVersion := "2.11.8",
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.1.7",
"com.dinstone" % "beanstalkc" % "2.2.0" exclude("org.slf4j", "slf4j-log4j12"),
"org.scalatest" %% "scalatest" % "3.0.0-RC1" % "it,test")))
.configs(IntegrationTest)
.settings(
testOptions in Test := Seq(Tests.Filter(s => s.endsWith("Test"))))
.settings(
scalastyleConfig in Compile := baseDirectory.value / "project" / "scalastyle-config.xml",
scalastyleConfig in Test := baseDirectory.value / "project" / "scalastyle-config.xml"
)