<commit_before>name := "play-crud"

organization := "com.atsid"

version := "0.9-SNAPSHOT"

libraryDependencies ++= Seq(
    javaJdbc,
    javaEbean,
    cache,
    "com.google.inject" % "guice" % "3.0",
    "com.google.inject.extensions" % "guice-multibindings" % "3.0",
    "org.reflections" % "reflections" % "0.9.8",
    "net.sf.supercsv" % "super-csv" % "2.1.0",
    "net.sf.supercsv" % "super-csv-dozer" % "2.1.0",
    "org.mockito" %  "mockito-all" % "1.9.5"
)

play.Project.playJavaSettings

useGpg := true

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT"))
    Some("snapshots" at nexus + "content/repositories/snapshots")
  else
    Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<url>https://github.com/atsid/play-crud</url><commit_msg>Removed scala version from repo<commit_after>name := "play-crud"

organization := "com.atsid"

version := "0.9-SNAPSHOT"

libraryDependencies ++= Seq(
    javaJdbc,
    javaEbean,
    cache,
    "com.google.inject" % "guice" % "3.0",
    "com.google.inject.extensions" % "guice-multibindings" % "3.0",
    "org.reflections" % "reflections" % "0.9.8",
    "net.sf.supercsv" % "super-csv" % "2.1.0",
    "net.sf.supercsv" % "super-csv-dozer" % "2.1.0",
    "org.mockito" %  "mockito-all" % "1.9.5"
)

play.Project.playJavaSettings

crossPaths := false

useGpg := true

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT"))
    Some("snapshots" at nexus + "content/repositories/snapshots")
  else
    Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<url>https://github.com/atsid/play-crud</url>
{'fraction_non_alphanumeric': 0.18708010335917313, 'fraction_numerical': 0.019638242894056846, 'mean_word_length': 3.598574821852732, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '1480596', 'n_tokens_mistral': 780, 'n_tokens_neox': 763, 'n_words': 125}