<commit_before>import sbt.Keys._
import sbt._
import com.ambiata._

lazy val grafter = (project in file(".")).
  settings(
    commonSettings      ++
    compilationSettings ++
    testSettings        ++
    publishSettings
  )

lazy val commonSettings = Seq(
  organization         := "org.zalando",
  name                 := "grafter",
  scalaVersion         := "2.11.8",
  version in ThisBuild := "1.0.0"
)

lazy val testSettings = Seq(
  fork          in Test := true,
  scalacOptions in Test ++= Seq("-Yrangepos"),
  testFrameworks in Test := Seq(TestFrameworks.Specs2),
  testOptions in Test += Tests.Filter(s => !s.endsWith("Specification")),
  coverageEnabled := true
)

lazy val compilationSettings = Seq(
  ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) },
  scalacOptions ++= Seq(
    "-unchecked",
    "-feature",
    "-deprecation:false",
    "-Xfatal-warnings",
    "-Xcheckinit",
    "-Xlint",
    "-Xlint:-nullary-unit",
    "-Ywarn-unused-import",
    "-Ywarn-numeric-widen",
    "-Ywarn-dead-code",
    "-Yno-adapted-args",
    "-language:_",
    "-target:jvm-1.8",
    "-encoding", "UTF-8"
  )
)

lazy val publishSettings = Seq(
  publishTo := Option("zalando nexus" at "https://maven.zalando.net/content/repositories/releases"),
  publishMavenStyle := true
) ++
  promulgateVersionSettings<commit_msg>#41 set the version to 1.0.1 and published it<commit_after>import sbt.Keys._
import sbt._
import com.ambiata._

logLevel := Level.Debug

lazy val grafter = (project in file(".")).
  settings(
    commonSettings      ++
    compilationSettings ++
    testSettings        ++
    publishSettings
  )

lazy val commonSettings = Seq(
  organization         := "org.zalando",
  name                 := "grafter",
  scalaVersion         := "2.11.8",
  version in ThisBuild := "1.1.0"
)

lazy val testSettings = Seq(
  fork          in Test := true,
  scalacOptions in Test ++= Seq("-Yrangepos"),
  testFrameworks in Test := Seq(TestFrameworks.Specs2),
  testOptions in Test += Tests.Filter(s => !s.endsWith("Specification")),
  coverageEnabled := false
)

lazy val compilationSettings = Seq(
  ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) },
  scalacOptions ++= Seq(
    "-unchecked",
    "-feature",
    "-deprecation:false",
    "-Xfatal-warnings",
    "-Xcheckinit",
    "-Xlint",
    "-Xlint:-nullary-unit",
    "-Ywarn-unused-import",
    "-Ywarn-numeric-widen",
    "-Ywarn-dead-code",
    "-Yno-adapted-args",
    "-language:_",
    "-target:jvm-1.8",
    "-encoding", "UTF-8"
  )
)

lazy val publishSettings = Seq(
  publishTo := Option("zalando-releases" at "https://maven.zalando.net/content/repositories/releases"),
  publishMavenStyle := true
) ++
  promulgateVersionSettings
{'fraction_non_alphanumeric': 0.15325809974517657, 'fraction_numerical': 0.009828904259191846, 'mean_word_length': 2.9482758620689653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1236016', 'n_tokens_mistral': 949, 'n_tokens_neox': 935, 'n_words': 192}