Merge pull request #2530 from dwijnand/deprecate-Build

Deprecate the Build trait
This commit is contained in:
eugene yokota 2016-04-01 10:14:08 -04:00
commit 6125cf596c
2 changed files with 11 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import Keys.{ name, organization, thisProject, autoGeneratedProject }
import Def.{ ScopedKey, Setting }
// name is more like BuildDefinition, but that is too long
@deprecated("Use .sbt format instead", "0.13.12")
trait Build {
def projectDefinitions(baseDirectory: File): Seq[Project] = projects
def projects: Seq[Project] = ReflectUtilities.allVals[Project](this).values.toSeq

View File

@ -0,0 +1,10 @@
[@dwijnand]: https://github.com/dwijnand
[#2530]: https://github.com/sbt/sbt/pull/2530
### Fixes with compatibility implications
- The Build trait is deprecated in favour of the .sbt format [#2530][#2530] by [@dwijnand][@dwijnand]
### Improvements
### Bug fixes