<commit_before>import sbt._
import Keys._

object Util extends Build {
  val zkVersion = "3.3.4"

  val sharedSettings = Seq(
    version := "6.0.5",
    organization := "com.twitter",
    // Workaround for a scaladoc bug which causes it to choke on
    // empty classpaths.
    unmanagedClasspath in Compile += Attributed.blank(new java.io.File("doesnotexist")),
    libraryDependencies ++= Seq(
      "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "provided" withSources(),
      "junit" % "junit" % "4.8.1" % "test" withSources(),
      "org.mockito" % "mockito-all" % "1.8.5" % "test" withSources()
    ),

    resolvers += "twitter repo" at "http://maven.twttr.com",

    ivyXML :=
      <dependencies>
        <exclude org="com.sun.jmx" module="jmxri" />
        <exclude org="com.sun.jdmk" module="jmxtools" />
        <exclude org="javax.jms" module="jms" />
      </dependencies>,

    scalacOptions ++= Seq("-encoding", "utf8"),
    scalacOptions += "-deprecation",
    javacOptions ++= Seq("-source", "1.6"),
    javacOptions ++= Seq("-target", "1.6"),

    // This is bad news for things like com.twitter.util.Time
    parallelExecution in Test := false,

    // Sonatype publishing
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },
    publishMavenStyle := true,
    pomExtra := (
      <url>https://github.com/twitter/util</url>
      <licenses><commit_msg>[split]  Update Open Source build files (sbt) for util/ostrich/finagle<commit_after>import sbt._
import Keys._

object Util extends Build {
  val zkVersion = "3.3.4"

  val sharedSettings = Seq(
    version := "6.0.6",
    organization := "com.twitter",
    // Workaround for a scaladoc bug which causes it to choke on
    // empty classpaths.
    unmanagedClasspath in Compile += Attributed.blank(new java.io.File("doesnotexist")),
    libraryDependencies ++= Seq(
      "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "provided" withSources(),
      "junit" % "junit" % "4.8.1" % "test" withSources(),
      "org.mockito" % "mockito-all" % "1.8.5" % "test" withSources()
    ),

    resolvers += "twitter repo" at "http://maven.twttr.com",

    ivyXML :=
      <dependencies>
        <exclude org="com.sun.jmx" module="jmxri" />
        <exclude org="com.sun.jdmk" module="jmxtools" />
        <exclude org="javax.jms" module="jms" />
      </dependencies>,

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

    javacOptions ++= Seq("-source", "1.6", "-target", "1.6"),
    javacOptions in doc := Seq("-source", "1.6"),

    // This is bad news for things like com.twitter.util.Time
    parallelExecution in Test := false,

    // Sonatype publishing
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },
    publishMavenStyle := true,
    pomExtra := (
      <url>https://github.com/twitter/util</url>
      <licenses>
{'fraction_non_alphanumeric': 0.16850447966919366, 'fraction_numerical': 0.016540317022742935, 'mean_word_length': 2.9071332436069985, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7515417', 'n_tokens_mistral': 1006, 'n_tokens_neox': 971, 'n_words': 223}