Build Status

To install locally

  • Clone the repository.
  • Change directory into the cloned repository.
  • Start sbt.
  • Publish to local Ivy repository with publishLocal.

To use in an application

First, edit build.sbt to add the dependency:

  libraryDependencies ++= Seq(
    "" %% "play2-health-checker" % "5.0.0"

Edit conf/application.conf to add the dependency:

play.modules.enabled += ""

Finally, add a route to the health check controller into <conf/routes>:

# Wire in the health check controller
GET     /hc                Boolean ?= true)