Instantly share code, notes, and snippets.

Embed
What would you like to do?
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