Skip to content

Instantly share code, notes, and snippets.

@jeroenr
Created December 4, 2019 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeroenr/05b634c07ca41898d5ead7d8adf6b50b to your computer and use it in GitHub Desktop.
Save jeroenr/05b634c07ca41898d5ead7d8adf6b50b to your computer and use it in GitHub Desktop.
import sbt._
import sbt.Keys._
lazy val rainRadar = (project in file("."))
.enablePlugins(CloudflowAkkaStreamsApplicationPlugin)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http-spray-json" % "10.1.10",
"ch.qos.logback" % "logback-classic" % "1.2.3"
),
name := "rain-radar",
organization := "com.github.jeroenr",
scalaVersion := "2.12.10",
crossScalaVersions := Vector(scalaVersion.value),
scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-target:jvm-1.8",
"-Xlog-reflective-calls",
"-Xlint",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-deprecation",
"-feature",
"-language:_",
"-unchecked"
),
runLocalConfigFile := Some("resources/local.conf"),
scalacOptions in (Compile, console) --= Seq("-Ywarn-unused", "-Ywarn-unused-import"),
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment