build.sbt (15 lines of code) (raw):
// This build is for this Giter8 template.
// To test the template run `g8` or `g8Test` from the sbt session.
// See https://www.foundweekends.org/giter8/testing.html#Using+the+Giter8Plugin for more details.
lazy val root = (project in file("."))
.settings(
name := "pekko-scala-seed",
Test / test := {
val _ = (Test / g8Test).toTask("").value
},
scriptedLaunchOpts ++= List("-Xms1024m", "-Xmx1024m", "-XX:ReservedCodeCacheSize=128m", "-XX:MaxMetaspaceSize=256m", "-Xss2m", "-Dfile.encoding=UTF-8")
)
import org.apache.pekko.PekkoParadoxPlugin.autoImport._
def themeSettings = Seq(
pekkoParadoxGithub := Some("https://github.com/apache/pekko-quickstart-scala.g8"))
// Documentation for this project:
// sbt "docs/paradox"
// open docs/target/paradox/site/main/index.html
lazy val docs = (project in file("docs"))
.enablePlugins(ParadoxPlugin, PekkoParadoxPlugin)
.disablePlugins(Giter8Plugin)
.settings(themeSettings)