Skip to content

scommons/scommons-service

Repository files navigation

CI scala-index Coverage Status

scommons-service

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 "https://oss.sonatype.org/content/repositories/snapshots/"

How to Build

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

sbt clean test

Documentation

//TODO