CI scala-index Coverage Status


Common Scala service/server layer components and utils.

How to add it to your project

val scommonsApiVer = "1.0.0-SNAPSHOT"
val scommonsServiceVer = "1.0.0-SNAPSHOT"

libraryDependencies ++= Seq(
  // shared
  "org.scommons.api" %%% "scommons-api-core" % scommonsApiVer,
  "org.scommons.api" %%% "scommons-api-joda-time" % scommonsApiVer,

  // server/jvm only
  "org.scommons.service" %% "scommons-service-play" % scommonsServiceVer,
  "org.scommons.service" %% "scommons-service-dao" % scommonsServiceVer,
  "org.scommons.service" %% "scommons-service-util" % scommonsServiceVer,
  "org.scommons.service" %% "scommons-service-test" % scommonsServiceVer % "test",
  "org.scommons.api" %% "scommons-api-play-ws" % scommonsApiVer % "test"

Latest SNAPSHOT version is published to Sonatype Repo, just make sure you added the proper dependency resolver to your build.sbt settings:

resolvers += "Sonatype Snapshots" at ""

How to Build

To build and run all the tests use the following command:

sbt clean test