-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
64 lines (48 loc) · 1.89 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
scalaVersion := "2.11.8"
name := "lagonaki"
organization := "org.scorexfoundation"
version := "2.0.0-SNAPSHOT"
resolvers += "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
libraryDependencies ++= Seq(
"org.scorexfoundation" %% "scorex-perma" % "2.0.0-SNAPSHOT",
"org.scorexfoundation" %% "scorex-basics" % "2.0.0-SNAPSHOT",
"org.scorexfoundation" %% "scorex-transaction" % "2.0.0-SNAPSHOT",
"org.scalatest" %% "scalatest" % "2.+" % "test",
"org.scalactic" %% "scalactic" % "2.+" % "test",
"org.scalacheck" %% "scalacheck" % "1.12.+" % "test"
)
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>[email protected]:ScorexFoundation/Scorex.git</url>
<connection>scm:git:[email protected]: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")