blob: d4915fe392579de48a26c00ab3dff986d443bc14 (
plain) (
tree)
|
|
---
layout: doc-page
title: "Using Dotty with cbt"
---
cbt comes with built-in dotty support. Follow the
[cbt tutorial](https://github.com/cvogt/cbt/), then simply extend `Dotty` in the Build class.
```scala
// build/build.scala
import cbt._
class Build(val context: Context) extends Dotty {
...
}
```
Also see the [example project](https://github.com/cvogt/cbt/tree/master/examples/dotty-example).
|