Does sbt have something similar to the maven enforcer?
===

Maven has the [maven-enforcer-plugin][1] that is very handy for checking various [rules][2] before the build begins. Are there sbt equivalents for the standard maven enforcer rules?

I am most interested in equivalents for the following rules:

- dependencyConvergence
- requireMavenVersion (i.e. requireSbtVersion)
- requireJavaVersion (and sbt should have requireScalaVersion as well)
- requireOS

as well as the general ability to [create custom rules][3].

  [1]: http://maven.apache.org/plugins/maven-enforcer-plugin/
  [2]: http://maven.apache.org/enforcer/enforcer-rules/index.html
  [3]: http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html