summaryrefslogtreecommitdiff
path: root/project/BuildSettings.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-06-19 14:12:13 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2016-06-21 11:23:03 +0200
commite4c2d68fcf2aebe062faf2bdad08e07704b66d9a (patch)
tree5e1ba660b36a285e50652883bca96e7514fe592b /project/BuildSettings.scala
parentb3283669e05dc706274e944ffd3750892c16e4dd (diff)
parentaaf7bc0b948ee073934885f8240193a4ba2b3bb8 (diff)
downloadscala-e4c2d68fcf2aebe062faf2bdad08e07704b66d9a.tar.gz
scala-e4c2d68fcf2aebe062faf2bdad08e07704b66d9a.tar.bz2
scala-e4c2d68fcf2aebe062faf2bdad08e07704b66d9a.zip
Merge commit 'aaf7bc0' into merge-2.11-to-2.12-june-19
Diffstat (limited to 'project/BuildSettings.scala')
-rw-r--r--project/BuildSettings.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/project/BuildSettings.scala b/project/BuildSettings.scala
new file mode 100644
index 0000000000..76cd888a2d
--- /dev/null
+++ b/project/BuildSettings.scala
@@ -0,0 +1,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")
+ }
+}