pekko-sample-distributed-data-java/build.sbt (28 lines of code) (raw):
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
val pekkoVersion = "1.1.3"
val logbackVersion = "1.3.15"
val `pekko-sample-distributed-data-java` = project
.in(file("."))
.settings(multiJvmSettings: _*)
.settings(
organization := "org.apache.pekko",
version := "1.0",
scalaVersion := "3.3.4",
Compile / scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Xlog-reflective-calls", "-Xlint"),
Compile / javacOptions ++= Seq("-parameters", "-Xlint:unchecked", "-Xlint:deprecation", "-Xdiags:verbose"),
run / javaOptions ++= Seq("-Xms128m", "-Xmx1024m"),
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-cluster-typed" % pekkoVersion,
"org.apache.pekko" %% "pekko-serialization-jackson" % pekkoVersion,
"org.apache.pekko" %% "pekko-multi-node-testkit" % pekkoVersion % Test,
"org.apache.pekko" %% "pekko-actor-testkit-typed" % pekkoVersion % Test,
"ch.qos.logback" % "logback-classic" % logbackVersion % Test,
"org.scalatest" %% "scalatest" % "3.2.19" % Test),
run / fork := true,
Global / cancelable := false, // ctrl-c
// disable parallel tests
Test / parallelExecution := false,
// show full stack traces and test case durations
Test / testOptions += Tests.Argument("-oDF"),
Test / logBuffered := false,
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0"))))
.configs(MultiJvm)