Updated Server Build level API (markdown)

Josh Suereth 2014-01-15 11:52:45 -08:00
parent 6b749e3c0d
commit de607d2888
1 changed files with 6 additions and 3 deletions

@ -1,13 +1,15 @@
The server aspects to sbt build will be exposed to build/plugin authors as follows:
# 1. A new key available which can be used to interact with the server:
# 1. Build Keys
A new key available which can be used to interact with the server:
```scala
val uiContext = taskKey[sbt.UIContext]("All user interaction should be driven through this interface.")
```
# 2. A new interface:
# 2. A UI interface
```scala
package sbt
@ -21,10 +23,11 @@ trait UIContext {
}
```
# 3. An addition to plugin API:
# 3. Plugin API
```scala
trait Plugin {
...
def serializers: Seq[(AttributeKey[_], Format[_])] = Nil
}
```