-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (30 loc) · 1.39 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
name := "iroha-akka"
scalaVersion := "2.13.5"
organization := "co.consultsafe"
version := s"1.0.${sys.env.getOrElse("JB_SPACE_EXECUTION_NUMBER", "0")}"
ThisBuild / versionScheme := Some("early-semver")
val AkkaVersion = "2.6.14"
val ScalaTestVersion = "3.2.7"
val silencerVersion = "1.7.0"
credentials += Credentials(Path.userHome / ".sbt" / "space-maven.credentials")
resolvers += "space-maven" at "https://maven.pkg.jetbrains.space/consultsafe/p/consolidated-payments/maven"
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"com.typesafe.akka" %% "akka-discovery" % AkkaVersion,
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf",
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion % Test,
"com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion % Test,
"org.scalatest" %% "scalatest" % ScalaTestVersion % Test,
"com.github.warchant" % "ed25519-sha3-java" % "2.0.1",
"org.scalatest" %% "scalatest" % "3.0.8" % Test
)
publishMavenStyle := true
publishArtifact in Test := false
skip in publish := false
sources in (Compile,doc) := Seq.empty
publishArtifact in (Compile, packageDoc) := false
fork in Test := true
publishTo := sys.env.get("REPOSITORY_URL").map(url => "space-maven" at url)
lazy val `iroha-akka` = (project in file("."))
.enablePlugins(AkkaGrpcPlugin)