File: BuildSettings.scala

package info (click to toggle)
scala 2.11.12-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 62,828 kB
  • sloc: javascript: 28,808; java: 13,415; xml: 3,250; sh: 1,620; python: 756; makefile: 38; awk: 36; ansic: 6
file content (11 lines) | stat: -rw-r--r-- 616 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
import sbt._

/** This object defines keys that should be visible with an unqualified name in all .sbt files and the command line */
object BuildSettings extends AutoPlugin {
  object autoImport {
    lazy val antStyle = settingKey[Boolean]("Use ant-style incremental builds instead of name-hashing")
    lazy val baseVersion = settingKey[String]("The base version number from which all others are derived")
    lazy val baseVersionSuffix = settingKey[String]("Identifies the kind of version to build")
    lazy val mimaReferenceVersion = settingKey[Option[String]]("Scala version number to run MiMa against")
  }
}