-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
65 lines (50 loc) · 1.83 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
import _root_.sbt.Keys._
organization := "org.scorexfoundation"
name := "iodb"
version := "0.4.0"
scalaVersion := "2.12.3"
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "19.0",
"net.jpountz.lz4" % "lz4" % "1.3.0",
"org.slf4j" % "slf4j-api" % "1.+",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalactic" %% "scalactic" % "3.0.0" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.rocksdb" % "rocksdbjni" % "4.5.1" % "test",
"org.iq80.leveldb" % "leveldb" % "0.9" % "test",
"ch.qos.logback" % "logback-classic" % "1.+" % "test"
)
licenses := Seq("CC0" -> url("https://creativecommons.org/publicdomain/zero/1.0/legalcode"))
homepage := Some(url("https://github.com/ScorexProject/iodb"))
resolvers ++= Seq("Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"SonaType" at "https://oss.sonatype.org/content/groups/public",
"Typesafe maven releases" at "http://repo.typesafe.com/typesafe/maven-releases/")
fork in run := true
javaOptions in run ++= Seq("-Xmx1G")
publishMavenStyle := true
publishArtifact 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")
}
pomIncludeRepository := { _ => false }
pomExtra :=
<scm>
<url>[email protected]:ScorexProject/iodb.git</url>
<connection>scm:git:[email protected]:ScorexProject/iodb.git</connection>
</scm>
<developers>
<developer>
<id>kushti</id>
<name>Alexander Chepurnoy</name>
<url>http://chepurnoy.org/</url>
</developer>
<developer>
<id>jan</id>
<name>Jan Kotek</name>
</developer>
</developers>