<commit_before>name := "bIO"

lazy val commonSettings = Seq(
  organization := "at.bioinform",
  version := "0.1.0-SNAPSHOT",
  scalaVersion := "2.12.2",
  isSnapshot := true,
  resolvers += "Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/",
  scalacOptions ++= Seq(
    // See other posts in the series for other helpful options
    "-feature",
    "-language:existentials",
    "-language:higherKinds",
    "-language:implicitConversions"
  )
)

/** Project dependencies */
lazy val root = project.in(file("."))
  .settings(commonSettings, coverageSettings)
  .aggregate(lucene, stream, webapp)
  .enablePlugins(CodacyCoveragePlugin)

lazy val lucene = (project in file("subprojects/lucene"))
  .settings(commonSettings, coverageSettings)

lazy val tools = (project in file("tools"))
  .dependsOn(stream)
  .settings(commonSettings)

lazy val stream = (project in file("subprojects/stream"))
  .dependsOn(lucene)
  .settings(commonSettings, coverageSettings)

lazy val bench = (project in file("benchmarks"))
  .dependsOn(lucene)
  .settings(commonSettings)
  .enablePlugins(JmhPlugin)

lazy val webapp = (project in file("subprojects/webapp"))
  .dependsOn(stream)
  .settings(commonSettings, coverageSettings)


/** Scalariform settings */
scalariformSettings(true)

com.typesafe.sbt.SbtScalariform.ScalariformKeys.preferences := {
  import scalariform.formatter.preferences._
  FormattingPreferences()
    .setPreference(AlignArguments, true)
    .setPreference(AlignSingleLineCaseStatements, true)
    .setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 20)
    .setPreference(DanglingCloseParenthesis, Prevent)
    .setPreference(CompactControlReadability, false)
    .setPreference(SpacesAroundMultiImports, false)
}

/** Coverage analysis settings */
lazy val coverageSettings = Seq(
  coverageHighlighting := true
)

<commit_msg>Update SBT<commit_after>name := "bIO"

lazy val commonSettings = Seq(
  organization := "at.bioinform",
  version := "1.1.5",
  scalaVersion := "2.12.2",
  isSnapshot := true,
  resolvers += "Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/",
  scalacOptions ++= Seq(
    // See other posts in the series for other helpful options
    "-feature",
    "-language:existentials",
    "-language:higherKinds",
    "-language:implicitConversions"
  )
)

/** Project dependencies */
lazy val root = project.in(file("."))
  .settings(commonSettings, coverageSettings)
  .aggregate(lucene, stream, webapp)
  .enablePlugins(CodacyCoveragePlugin)

lazy val lucene = (project in file("subprojects/lucene"))
  .settings(commonSettings, coverageSettings)

lazy val tools = (project in file("tools"))
  .dependsOn(stream)
  .settings(commonSettings)

lazy val stream = (project in file("subprojects/stream"))
  .dependsOn(lucene)
  .settings(commonSettings, coverageSettings)

lazy val bench = (project in file("benchmarks"))
  .dependsOn(lucene)
  .settings(commonSettings)
  .enablePlugins(JmhPlugin)

lazy val webapp = (project in file("subprojects/webapp"))
  .dependsOn(stream)
  .settings(commonSettings, coverageSettings)


/** Scalariform settings */
scalariformSettings(true)

com.typesafe.sbt.SbtScalariform.ScalariformKeys.preferences := {
  import scalariform.formatter.preferences._
  FormattingPreferences()
    .setPreference(AlignArguments, true)
    .setPreference(AlignSingleLineCaseStatements, true)
    .setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 20)
    .setPreference(DanglingCloseParenthesis, Prevent)
    .setPreference(CompactControlReadability, false)
    .setPreference(SpacesAroundMultiImports, false)
}

/** Coverage analysis settings */
lazy val coverageSettings = Seq(
  coverageHighlighting := true
)


{'fraction_non_alphanumeric': 0.12164339419978518, 'fraction_numerical': 0.004833512352309345, 'mean_word_length': 5.056910569105691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1133281', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1163, 'n_words': 237}