Getting Started
Add the following dependency to your build.sbt
file:
libraryDependencies += "io.github.endless4s" %% "endless-core" % "0.25.0"
This will pull in the core endless module, containing typeclasses and interpreters. You should add this as a dependency to your domain project.
Akka runtime is available in endless-runtime-akka
, and some extra helpers for circe in endless-circe-helpers
: add those as dependencies to your infrastructure module.
You can also clone this repository and run the example application with sbt run
.
Compatibility
Since Akka does not allow mixed versions in a project, Akka dependencies of endless-runtime-akka
are marked a Provided
. This means that your application libraryDependencies
needs to directly include Akka as a dependency. The minimal supported Akka version is 2.6.17.
0.25.0