/
build.sbt
49 lines (48 loc) · 1.66 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
val dependencies = Seq(
"org.scalanlp" %% "breeze" % "0.11.2",
"org.scalanlp" %% "breeze-natives" % "0.11.2",
"net.debasishg" %% "redisclient" % "3.0",
"com.lambdaworks" %% "jacks" % "2.3.3",
"org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",
"com.orange.redis-embedded" % "embedded-redis" % "0.6" % "test"
)
lazy val root = (project in file(".")).settings(
name := "lsh-scala",
organization := "io.krom",
version := "0.1",
scalaVersion := "2.11.7",
libraryDependencies ++= dependencies,
parallelExecution in Test := false,
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")
},
publishMavenStyle := true,
publishArtifact in Test := false,
sonatypeProfileName := "io.krom",
pomIncludeRepository := { _ => false },
pomExtra := (
<url>https://github.com/barneygovan/lsh-scala</url>
<licenses>
<license>
<name>Apache 2.0 License</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/barneygovan/lsh-scala.git</connection>
<developerConnection>scm:git:git@github.com:barneygovan/lsh-scala.git</developerConnection>
<url>github.com/barneygovan/lsh-scala.git</url>
</scm>
<developers>
<developer>
<id>barneygovan</id>
<name>Barney Govan</name>
<url>https://github.com/barneygovan</url>
</developer>
</developers>)
)