<commit_before>import sbt.Keys._

lazy val root = identity((project in file("."))
  .enablePlugins(PlayScala, DebianPlugin, RpmPlugin, JavaAppPackaging))

name := "wlxjury"

organization := "org.intracer"

version := "0.9"

//rpmRelease := "1"

rpmVendor := "intracer"

rpmUrl := Some("https://github.com/intracer/wlxjury")

rpmLicense := Some("ASL 2.0")

packageSummary := "WLX Jury Tool is an image selection and rating tool for Wiki Loves Monuments and Wiki Loves Earth contests"

packageDescription :=
  """On gallery page jurors or organizing committee can browse the images, see the rating or selection status of each image, open large image view page.
    |Images can be filtered by their status - unrated, and selected or rejected in selection rounds or rated in rating rounds.
    |In rating rounds images are sorted by their rating.
    |Organizing committee can see the votes of each juror separately or the overall rating of all jurors together.
    |In large image view there is vertical ribbon of image thumbnails on the left and large currently viewed image on the right.
    |User can go backward or forward with navigation buttons or arrow keys on the keyboard, or can click the thumbnails in the ribbon
    |Juror can select, reject or rate the currently viewed image.
    |Juror can also comment the image and see other jurors comments.
    |Organizing committee can see the ratings and comments given by all jurors to the image.
    |From large image view one can return to gallery view, visit image page on commons by clicking the large image, or open full resolution version of the image. Caption of the full resolution image version link shows image resolution.
  """.stripMargin.replace('\n', ' ')

maintainer := "<NAME> <<EMAIL>>"

debianPackageDependencies in Debian ++= Seq("java8-runtime")

debianPackageRecommends in Debian ++= Seq("virtual-mysql-server")

scalaVersion := "2.12.6"

val ScalikejdbcVersion = "3.2.1"
val ScalikejdbcPlayVersion = "2.6.0-scalikejdbc-3.2"
val ScalawikiVersion = "0.5-M7"
val PlayMailerVersion = "6.0.1"

resolvers += Resolver.bintrayRepo("intracer", "maven")

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"

resolvers += Resolver.jcenterRepo

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.6.3",
  "com.adrianhurt" %% "play-bootstrap" % "1.2-P26-B3",
  "org.webjars" % "bootstrap" % "3.3.7-1" exclude("org.webjars", "jquery"),
  "org.webjars" % "jquery" % "3.2.1",

  "mysql" % "mysql-connector-java" % "5.1.40",
  "org.scalikejdbc" %% "scalikejdbc" % ScalikejdbcVersion,
  "org.scalikejdbc" %% "scalikejdbc-config" % ScalikejdbcVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-initializer" % ScalikejdbcPlayVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-dbapi-adapter" % ScalikejdbcPlayVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-fixture" % ScalikejdbcPlayVersion,
  "org.skinny-framework" %% "skinny-orm" % "2.5.2",
  "org.flywaydb" %% "flyway-play" % "5.0.0",

  "org.scalawiki" %% "scalawiki-core" % ScalawikiVersion,
  "org.scalawiki" %% "scalawiki-wlx" % ScalawikiVersion,

  "com.typesafe.akka" %% "akka-stream" % "2.5.11",
  "com.typesafe.akka" %% "akka-http" % "10.0.13",

  "nl.grons" %% "metrics-scala" % "3.5.9",
  "com.typesafe.play" %% "play-mailer" % PlayMailerVersion,
  "com.typesafe.play" %% "play-mailer-guice" % PlayMailerVersion,
  "com.github.tototoshi" %% "scala-csv" % "1.3.4",
  "uk.org.lidalia" % "sysout-over-slf4j" % "1.0.2",
  guice, filters,
  specs2 % Test,
  jdbc % Test,<commit_msg>downgrade flyway-play to 4.0.0<commit_after>import sbt.Keys._

lazy val root = identity((project in file("."))
  .enablePlugins(PlayScala, DebianPlugin, RpmPlugin, JavaAppPackaging))

name := "wlxjury"

organization := "org.intracer"

version := "0.9"

//rpmRelease := "1"

rpmVendor := "intracer"

rpmUrl := Some("https://github.com/intracer/wlxjury")

rpmLicense := Some("ASL 2.0")

packageSummary := "WLX Jury Tool is an image selection and rating tool for Wiki Loves Monuments and Wiki Loves Earth contests"

packageDescription :=
  """On gallery page jurors or organizing committee can browse the images, see the rating or selection status of each image, open large image view page.
    |Images can be filtered by their status - unrated, and selected or rejected in selection rounds or rated in rating rounds.
    |In rating rounds images are sorted by their rating.
    |Organizing committee can see the votes of each juror separately or the overall rating of all jurors together.
    |In large image view there is vertical ribbon of image thumbnails on the left and large currently viewed image on the right.
    |User can go backward or forward with navigation buttons or arrow keys on the keyboard, or can click the thumbnails in the ribbon
    |Juror can select, reject or rate the currently viewed image.
    |Juror can also comment the image and see other jurors comments.
    |Organizing committee can see the ratings and comments given by all jurors to the image.
    |From large image view one can return to gallery view, visit image page on commons by clicking the large image, or open full resolution version of the image. Caption of the full resolution image version link shows image resolution.
  """.stripMargin.replace('\n', ' ')

maintainer := "<NAME> <<EMAIL>>"

debianPackageDependencies in Debian ++= Seq("java8-runtime")

debianPackageRecommends in Debian ++= Seq("virtual-mysql-server")

scalaVersion := "2.12.6"

val ScalikejdbcVersion = "3.2.1"
val ScalikejdbcPlayVersion = "2.6.0-scalikejdbc-3.2"
val ScalawikiVersion = "0.5-M7"
val PlayMailerVersion = "6.0.1"

resolvers += Resolver.bintrayRepo("intracer", "maven")

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"

resolvers += Resolver.jcenterRepo

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.6.3",
  "com.adrianhurt" %% "play-bootstrap" % "1.2-P26-B3",
  "org.webjars" % "bootstrap" % "3.3.7-1" exclude("org.webjars", "jquery"),
  "org.webjars" % "jquery" % "3.2.1",

  "mysql" % "mysql-connector-java" % "5.1.40",
  "org.scalikejdbc" %% "scalikejdbc" % ScalikejdbcVersion,
  "org.scalikejdbc" %% "scalikejdbc-config" % ScalikejdbcVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-initializer" % ScalikejdbcPlayVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-dbapi-adapter" % ScalikejdbcPlayVersion,
  "org.scalikejdbc" %% "scalikejdbc-play-fixture" % ScalikejdbcPlayVersion,
  "org.skinny-framework" %% "skinny-orm" % "2.5.2",
  "org.flywaydb" %% "flyway-play" % "4.0.0",

  "org.scalawiki" %% "scalawiki-core" % ScalawikiVersion,
  "org.scalawiki" %% "scalawiki-wlx" % ScalawikiVersion,

  "com.typesafe.akka" %% "akka-stream" % "2.5.11",
  "com.typesafe.akka" %% "akka-http" % "10.0.13",

  "nl.grons" %% "metrics-scala" % "3.5.9",
  "com.typesafe.play" %% "play-mailer" % PlayMailerVersion,
  "com.typesafe.play" %% "play-mailer-guice" % PlayMailerVersion,
  "com.github.tototoshi" %% "scala-csv" % "1.3.4",
  "uk.org.lidalia" % "sysout-over-slf4j" % "1.0.2",
  guice, filters,
  specs2 % Test,
  jdbc % Test,
{'fraction_non_alphanumeric': 0.13599774043214236, 'fraction_numerical': 0.01991244174551617, 'mean_word_length': 4.328818660647103, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '278671', 'n_tokens_mistral': 2553, 'n_tokens_neox': 2393, 'n_words': 698}