text: import sbt._
  import Keys._
  import com.typesafe.sbt.packager.docker.{Cmd, DockerKeys}
  import RestartCommand._
  
  object CommonSettingsPlugin extends AutoPlugin with DockerKeys {
    override def trigger = allRequirements
    override lazy val projectSettings = Seq(
      updateOptions := updateOptions.value.withCachedResolution(cachedResoluton = true),
      resolvers ++= Seq(
        "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
      ),
      libraryDependencies ++= Seq(
        "com.github.nscala-time" %% "nscala-time" % "2.16.0",
        "ch.qos.logback" % "logback-classic" % "1.1.7",
        "org.scalatest" %% "scalatest" % "3.0.1" % "test",
        "org.mockito" % "mockito-core" % "1.9.5" % "test",
        "commons-io" % "commons-io" % "2.4" % "test",
        "org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
      ),
      commands ++= Seq(restart)
    )
  }