-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
65 lines (49 loc) · 1.93 KB
/
build.sbt
File metadata and controls
65 lines (49 loc) · 1.93 KB
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
scalaVersion := "2.11.8"
name := "scorex-transaction"
organization := "org.scorexfoundation"
version := "2.0.0-SNAPSHOT"
resolvers += "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
libraryDependencies ++= Seq(
"io.iohk" %% "iodb" % "1.0-M1-SNAPSHOT",
"com.typesafe.akka" %% "akka-testkit" % "2.+" % "test",
"org.scalatest" %% "scalatest" % "2.+" % "test",
"org.scalactic" %% "scalactic" % "2.+" % "test",
"org.scalacheck" %% "scalacheck" % "1.12.+" % "test",
"net.databinder.dispatch" %% "dispatch-core" % "+" % "test",
"org.scorexfoundation" %% "scorex-basics" % "2.0.0-SNAPSHOT"
)
scalacOptions ++= Seq("-feature", "-deprecation")
javaOptions ++= Seq("-server")
testOptions in Test += Tests.Argument("-oD", "-u", "target/test-reports")
//publishing settings
publishMavenStyle in ThisBuild := true
publishArtifact in Test := false
publishTo in ThisBuild := {
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")
}
fork in ThisBuild := true
pomIncludeRepository in ThisBuild := { _ => false }
licenses in ThisBuild := Seq("CC0" -> url("https://creativecommons.org/publicdomain/zero/1.0/legalcode"))
homepage in ThisBuild := Some(url("https://github.com/ScorexFoundation/Scorex"))
pomExtra in ThisBuild := (
<scm>
<url>git@github.com:ScorexFoundation/Scorex.git</url>
<connection>scm:git:git@github.com:ScorexFoundation/Scorex.git</connection>
</scm>
<developers>
<developer>
<id>kushti</id>
<name>Alexander Chepurnoy</name>
<url>http://chepurnoy.org/</url>
</developer>
<developer>
<id>catena</id>
<name>catena</name>
<url>https://github.com/catena2w</url>
</developer>
</developers>)
credentials in ThisBuild += Credentials(Path.userHome / ".ivy2" / ".credentials")