build.sbt (1590B)
1 name := "SocialNetworkNews" 2 version := "1.0" 3 // general package information (can be scoped to Windows) 4 maintainer := "MTRNord <freifunknews@nordgedanken.blog>" 5 packageSummary := "SocialNetworkNews" 6 packageDescription := """A paper.li clone""" 7 8 // wix build information 9 wixProductId := "2d7d2fcd-bf87-4daf-99dc-279d1825f089" 10 wixProductUpgradeId := "76b4ecc2-4d3e-4a59-bd63-e67e6cb29806" 11 wixProductLicense := Some(file("LICENSE.rtf")) 12 13 scalaVersion := "2.12.3" 14 15 // set the main class for packaging the main jar 16 // 'run' will still auto-detect and prompt 17 // change Compile to Test to set it for the test jar 18 mainClass in (Compile, packageBin) := Some("Main") 19 20 // set the main class for the main 'run' task 21 // change Compile to Test to set it for 'test:run' 22 mainClass in (Compile, run) := Some("Main") 23 24 resolvers += Resolver.sonatypeRepo("snapshots") 25 resolvers += Resolver.sonatypeRepo("stable") 26 resolvers += DefaultMavenRepository 27 libraryDependencies ++= Seq( 28 "com.danielasfregola" %% "twitter4s" % "6.0-SNAPSHOT", 29 "com.typesafe" % "config" % "1.3.2", 30 "ch.qos.logback" % "logback-classic" % "1.1.9", 31 "com.typesafe.slick" %% "slick" % "3.2.1", 32 "com.typesafe.slick" %% "slick-hikaricp" % "3.2.1", 33 "com.github.tototoshi" %% "scala-csv" % "1.3.5", 34 "org.quartz-scheduler" % "quartz" % "2.3.0", 35 "org.quartz-scheduler" % "quartz-jobs" % "2.3.0", 36 "org.codehaus.janino" % "janino" % "3.0.7", 37 ) 38 enablePlugins(JavaAppPackaging) 39 scalacOptions in (Compile,doc) := Seq("-groups", "-implicits") 40 41 scalacOptions ++= Seq( 42 "-encoding", "UTF-8", 43 "-Ywarn-dead-code", 44 "-Ywarn-inaccessible" 45 )