Last active
August 29, 2015 14:21
-
-
Save rtfpessoa/81fafe421a2c3a50ab33 to your computer and use it in GitHub Desktop.
sbt Common Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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