-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
60 lines (48 loc) · 1.28 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
import Dependencies._
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "lu.intech",
scalaVersion := "2.12.3",
version := "1.0.0"
)),
name := "tendermint-server",
libraryDependencies ++= Seq(
akkaStream,
grpcNetty,
grpcScalapb,
protobuf,
slf4jApi,
logbackClassic
)
)
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value
)
pomIncludeRepository := { _ => false }
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/InTechSA/scala-tendermint-server"))
scmInfo := Some(
ScmInfo(
url("https://github.com/InTechSA/scala-tendermint-server"),
"scm:[email protected]:InTechSA/scala-tendermint-server.git"
)
)
developers := List(
Developer(
id = "antoined",
name = "Antoine Detante",
email = "[email protected]",
url = url("https://github.com/adetante")
)
)
publishMavenStyle := true
publishArtifact in Test := false
useGpg := 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")
}