Updated Server Build level API (markdown)

Josh Suereth 2014-01-15 11:52:02 -08:00
parent 797f96c041
commit 6b749e3c0d
1 changed files with 4 additions and 3 deletions

@ -1,13 +1,13 @@
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. 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 new interface:
```scala
package sbt
@ -21,7 +21,8 @@ trait UIContext {
}
```
3. An addition to plugin API:
# 3. An addition to plugin API:
```scala
trait Plugin {
def serializers: Seq[(AttributeKey[_], Format[_])] = Nil