def util()

in project/Build.scala [16:49]


  def util(which: String) =
    "com.twitter" %% ("util-" + which) % utilVersion excludeAll(
        ExclusionRule(organization = "junit"),
        ExclusionRule(organization = "org.scala-tools.testing"),
        ExclusionRule(organization = "org.mockito"))

  val sharedSettings = Seq(
    version := CassovaryLibraryVersion,
    organization := "com.twitter",
    scalaVersion := "2.11.8",
    retrieveManaged := true,
    libraryDependencies ++= Seq(
      "com.google.guava" % "guava" % "16.0.1",
      fastUtilsDependency % "provided",
      "org.mockito" % "mockito-all" % "1.9.5" % "test",
      util("core"),
      util("logging"),
      "org.scalatest" %% "scalatest" % "2.2.4" % "test",
      "junit" % "junit" % "4.10" % "test",
      "com.twitter" %% "finagle-stats" % finagleVersion,
      "org.scala-lang" % "scala-reflect" % scalaVersion.value
    ),
    resolvers += "twitter repo" at "https://maven.twttr.com",

    scalacOptions ++= Seq("-encoding", "utf8"),
    scalacOptions += "-deprecation",

    fork in run := true,
    javaOptions in run ++= Seq("-server"),
    outputStrategy := Some(StdoutOutput),

    // Sonatype publishing
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },