Skip to content

Commit 5ac0dec

Browse files
committed
Adapt README
1 parent 7d25b94 commit 5ac0dec

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: scala
22
scala:
3-
- 2.11.8
3+
- 2.12.2
44
branches:
55
only:
66
- master

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ Play's content negotiation support is based on pattern matching. Unfortunately,
1212

1313
## Setup
1414

15-
`play-content-negotiation` is compiled against Play 2.5.10 and Scala 2.11. To use it in your Play application, add the following to your `build.sbt` file:
15+
`play-content-negotiation` is compiled against Play 2.6.0 and Scala 2.12. To use it in your Play application, add the following to your `build.sbt` file:
1616

1717
```scala
1818
resolvers += "restful-scala" at "https://dl.bintray.com/restfulscala/maven"
19-
libraryDependencies += "org.restfulscala" %% "play-content-negotiation" % "0.3.0"
19+
libraryDependencies += "org.restfulscala" %% "play-content-negotiation" % "0.4.0"
2020
```
2121

22+
If you are still on Play 2.5, please use version `0.3.0` of this library, which is compiled against Play 2.5.10 and Scala 2.11.
23+
2224
## Concepts
2325

2426
`play-content-negotiation` introduces a few new types and a tiny DSL for creating instances of these types, and is built on top of Play's own content negotiation support.
@@ -108,4 +110,3 @@ Acceptable media types: text/html, application/json
108110
## Contributors
109111

110112
Daniel Westheide
111-

0 commit comments

Comments
 (0)