Skip to content

Commit

Permalink
post release update
Browse files Browse the repository at this point in the history
  • Loading branch information
kailuowang committed Jul 5, 2017
1 parent 58a9f4a commit a49b9f7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,17 @@ You can find the setup in the example project as well.
For play2.5 add Swagger sbt plugin dependency to your plugins.sbt (see [the releases tab](https://github.com/iheartradio/play-swagger/releases) for the latest versions)

```scala
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.5.2")
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.6.1")
```

For play 2.4 please use a special release build with play 2.4 binary.
For play 2.6 please use a special release build with play 2.6 binary.
```scala
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.5.2-PLAY2.4")
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.6.1-PLAY2.6")
```

For play 2.4 please use a special release build with play 2.4 binary (No longer maintained after 0.6.0)
```scala
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.6.0-PLAY2.4")

```
Then enable it for your Play app - in build.sbt add `SwaggerPlugin` to the root project like
Expand Down

0 comments on commit a49b9f7

Please sign in to comment.