<commit_before>import play.Play.autoImport._
import play.PlayScala
import sbt.Keys._
import sbt._


object AtomiumBuild extends Build with BuildSettings {

  import Dependencies._


  javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")


  //----------------------------------------------------------------
  lazy val javaFormatModule = {

    val mainDeps = Seq(lombok, jacksonDatabind, jacksonJoda)
    val testDeps = Seq(junit)

    project("format-java")
      .settings(libraryDependencies ++= mainDeps ++ testDeps)

  }


  //----------------------------------------------------------------
  lazy val formatModule =
    project("format")
      .dependsOn(javaFormatModule)


  //----------------------------------------------------------------
  lazy val clientScalaModule =
    project("client-scala")
      .settings(publishArtifact in Test := true)
      .dependsOn(formatModule, serverModule)
      .aggregate(formatModule, serverModule)


  //----------------------------------------------------------------
  lazy val clientJavaModule = {

    val mainDeps = Seq(slf4j, commonsIo, rxhttpclient)
    val testDeps = Seq(junit, wiremock, mockitoCore, assertJ, jfakerMockito, junitInterface)

    project("client-java")
      .settings(libraryDependencies ++= mainDeps ++ testDeps)
      .dependsOn(clientScalaModule % "test->test;compile->compile") //TODO -- inverse link when ready with java client

  }


  //----------------------------------------------------------------
  lazy val commonPlayModule = {

    val mainDeps = Seq(play, playJson)

    project("common-play")
      .settings(libraryDependencies ++= mainDeps)
      .dependsOn(formatModule)
      .aggregate(formatModule)
  }


  //----------------------------------------------------------------<commit_msg>Sets build config to not use  crossPaths for Java projects.<commit_after>import play.Play.autoImport._
import play.PlayScala
import sbt.Keys._
import sbt._


object AtomiumBuild extends Build with BuildSettings {

  import Dependencies._


  javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")


  //----------------------------------------------------------------
  lazy val javaFormatModule = {

    val mainDeps = Seq(lombok, jacksonDatabind, jacksonJoda)
    val testDeps = Seq(junit)

    project("format-java")
      .settings(libraryDependencies ++= mainDeps ++ testDeps)
      .settings(crossPaths := false)

  }


  //----------------------------------------------------------------
  lazy val formatModule =
    project("format")
      .dependsOn(javaFormatModule)


  //----------------------------------------------------------------
  lazy val clientScalaModule =
    project("client-scala")
      .settings(publishArtifact in Test := true)
      .dependsOn(formatModule, serverModule)
      .aggregate(formatModule, serverModule)


  //----------------------------------------------------------------
  lazy val clientJavaModule = {

    val mainDeps = Seq(slf4j, commonsIo, rxhttpclient)
    val testDeps = Seq(junit, wiremock, mockitoCore, assertJ, jfakerMockito, junitInterface)

    project("client-java")
      .settings(libraryDependencies ++= mainDeps ++ testDeps)
      .settings(crossPaths := false)
      .dependsOn(clientScalaModule % "test->test;compile->compile") //TODO -- inverse link when ready with java client

  }


  //----------------------------------------------------------------
  lazy val commonPlayModule = {

    val mainDeps = Seq(play, playJson)

    project("common-play")
      .settings(libraryDependencies ++= mainDeps)
      .dependsOn(formatModule)
      .aggregate(formatModule)
  }


  //----------------------------------------------------------------
{'fraction_non_alphanumeric': 0.299354491662184, 'fraction_numerical': 0.0026896180742334587, 'mean_word_length': 1.5507544581618655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5294163', 'n_tokens_mistral': 998, 'n_tokens_neox': 945, 'n_words': 205}