Skip to content

Instantly share code, notes, and snippets.

@rtfpessoa
Last active August 29, 2015 14:21
Show Gist options
  • Save rtfpessoa/81fafe421a2c3a50ab33 to your computer and use it in GitHub Desktop.
Save rtfpessoa/81fafe421a2c3a50ab33 to your computer and use it in GitHub Desktop.
sbt Common Settings
object CodacySbt extends sbt.AutoPlugin {
private val buildVersion = sys.props.getOrElse("build.number", "dev")
object autoImport extends Modules {
val commonAppSettings: Seq[Def.Setting[_]] = Seq(
organization := "codacy",
scalaVersion := "2.11.6",
testOptions in Test := Nil,
parallelExecution in Test := false,
Keys.fork in Test := false,
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Ywarn-adapted-args", "-Xlint", "-Xfatal-warnings")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment