Skip to content

Commit

Permalink
Merge pull request #4502 from dotta/doc/play-sbt-plugin-package
Browse files Browse the repository at this point in the history
Reworded play-sbt package change in migration doc
  • Loading branch information
jroper committed May 20, 2015
2 parents c2acca1 + f34a69d commit 40df7af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documentation/manual/releases/Migration24.md
Expand Up @@ -63,15 +63,17 @@ IntelliJ is now able to import sbt projects natively, so we recommend using that

### Play SBT plugin API

All classes in the SBT plugin are now in the package `play.sbt`, this is particularly pertinent if using `.scala` files to configure your build.

#### `playWatchService` renamed

The SBT setting key `playWatchService` has been renamed to `fileWatchService`.

Also the corresponding class has changed. To set the FileWatchService to poll every two seconds, use it like this:
```scala
PlayKeys.fileWatchService := play.runsupport.FileWatchService.sbt(2000)
```

All classes in the SBT plugin are now in the package `play.sbt`, this is particularly pertinent if using `.scala` files to configure your build..

### Ebean dependency

Ebean has been pulled out into an external project, to allow it to have a lifecycle independent of Play's own lifecycle. The Ebean bytecode enhancement functionality has also been extracted out of the Play sbt plugin into its own plugin.
Expand Down

0 comments on commit 40df7af

Please sign in to comment.