diff --git a/build.sbt b/build.sbt index cb7d0bc9..068f2689 100644 --- a/build.sbt +++ b/build.sbt @@ -1,54 +1,50 @@ +lazy val root = (project in file (".") ) + .enablePlugins (PlayScala, RpmPlugin, DebianPlugin, UpstartPlugin) + name := "wlxjury" -version := "1.0-SNAPSHOT" +organization := "org.intracer" + +version := "0.8" //rpmRelease := "1" -// -//rpmVendor := "typesafe" -// -//rpmUrl := Some("http://github.com/paulp/sbt-extras") -// -//rpmLicense := Some("GPL") -// -//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 -// -//maintainer := "Ilya Korniiko " + +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 := "Ilya Korniiko " + +debianPackageDependencies in Debian ++= Seq("java8-runtime") + +debianPackageRecommends in Debian ++= Seq("virtual-mysql-server") scalaVersion := "2.11.8" val scalikejdbcVersion = "2.2.9" val scalikejdbcPlayVersion = "2.4.3" -//resolvers += Resolver.url("Intracer bintray", url("http://dl.bintray.com/intracer/maven")) - resolvers += Resolver.bintrayRepo("intracer", "maven") resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases" -//routesGenerator := InjectedRoutesGenerator - libraryDependencies ++= Seq( "org.webjars" %% "webjars-play" % "2.4.0", "com.adrianhurt" %% "play-bootstrap" % "1.0-P24-B3", @@ -70,7 +66,7 @@ libraryDependencies ++= Seq( "org.scalamock" %% "scalamock-scalatest-support" % "3.2" % "test" ) -lazy val root = (project in file (".") ).enablePlugins (PlayScala) + //lazy val root = (project in file(".")).enablePlugins(PlayScala, DeploySSH).settings( // deployHomeConfigFiles ++= Seq("wm/wmua.conf"), // // deployConfigs ++= Seq( diff --git a/project/plugins.sbt b/project/plugins.sbt index 1be08d76..63e23e98 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,8 +3,8 @@ logLevel := Level.Warn // The Typesafe repository resolvers ++= Seq("typesafe" at "http://repo.typesafe.com/typesafe/releases/", - Resolver.file("file", new File(Path.userHome.absolutePath+"/.ivy2/local/")), - "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases" + Resolver.file("file", new File(Path.userHome.absolutePath + "/.ivy2/local/")), + "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases" ) // The Sonatype snapshots repository @@ -26,7 +26,7 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.5") //addSbtPlugin("com.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.1") -addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.8.0") +addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M2") addSbtPlugin("org.ensime" % "ensime-sbt" % "0.1.6")