-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (27 loc) · 1.31 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
import com.typesafe.sbt.pgp.PgpKeys.{publishLocalSigned, publishSigned}
import sbt.Keys.version
// It is an alias for running tests with ChaosJournal as persistent journal.
// Tests with in-memory journal may be run using standard "example/test" command
addCommandAlias("chaosTest", "; project example ; set javaOptions in Test += \"-Dconfig.resource=chaos-application.conf\" ; test")
val example = (project in file("."))
.settings(Settings.scalaVersions)
.settings(
name := "akka-persistence-chaos-journal-example",
organization := "org.psliwa",
startYear := Some(2017),
version := Versions.pluginFullVersion,
// For testing staging releases
// resolvers += "Sonatype OSS Staging" at "https://oss.sonatype.org/service/local/repositories/orgpsliwa-1003/content",
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
fork in Test := true,
publish := {},
publishLocal := {},
publishLocalSigned := {},
publishSigned := {},
libraryDependencies := Seq(
"org.psliwa" %% "akka-persistence-chaos-journal" % Versions.pluginFullVersion,
"com.typesafe.akka" %% "akka-persistence" % Versions.akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % Versions.akkaVersion,
"org.scalatest" %% "scalatest" % "3.0.4" % "test"
)
)