Skip to content

Commit 805e211

Browse files
rannisimAvihay Tsayeg
authored and
Avihay Tsayeg
committed
upgrade play to 2.7.3 and add support for scala-2.13 (#82)
1 parent dcf70d8 commit 805e211

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: scala
22
scala:
3+
- 2.13.0
34
- 2.12.8
4-
- 2.11.12
55
jdk:
6-
- oraclejdk8
6+
- openjdk8
77
script:
88
- sbt ++${TRAVIS_SCALA_VERSION} clean coverage test coverageReport
99
after_success:

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add metrics-play dependency:
2222
```scala
2323
val appDependencies = Seq(
2424
...
25-
"com.kenshoo" %% "metrics-play" % "2.7.0_0.8.0"
25+
"com.kenshoo" %% "metrics-play" % "2.7.3_0.8.1"
2626
)
2727
```
2828

@@ -129,16 +129,15 @@ class MyMetricsModule extends Module {
129129
}
130130
```
131131

132-
and add a line like this to application.conf
132+
and add the following line to application.conf
133133

134134
```
135135
play.modules.enabled+="myapp.MyMetricsModule"
136136
```
137137

138-
instead of `com.kenshoo.play.metrics.PlayModule`
139-
140138
## Changes
141139

140+
* 2.7.3_0.8.1 - Upgrade to play 2.7.3 and support Scala version 2.12.8 / 2.13.0 with dropwizard 4.0.5
142141
* 2.7.0_0.8.0 - Upgrade to play 2.7.0 and Scala 2.12.8 and dropwizard 4.0.5
143142
* 2.6.19_0.7.0 - Upgrade to play 2.6.19 and Scala 2.12.6 and dropwizard 4.0.3
144143
* 2.6.2_0.6.1 - Upgrade to play 2.6 and Scala 2.12. Migration: If you get errors like "No configuration setting found ..." when building fat JARs, check your merge strategy for reference.conf.

build.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ organization:= "com.kenshoo"
22

33
name := "metrics-play"
44

5-
scalaVersion := "2.12.8"
5+
scalaVersion := "2.13.0"
66

7-
crossScalaVersions := Seq(scalaVersion.value, "2.11.12")
7+
crossScalaVersions := Seq(scalaVersion.value, "2.12.8")
88

9-
val playVersion = "2.7.0"
9+
val playVersion = "2.7.3"
1010

11-
val metricsPlayVersion = "0.8.0"
11+
val metricsPlayVersion = "0.8.1"
1212

1313
val dropwizardVersion = "4.0.5"
1414

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
22

3-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
3+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.0")
44

55
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1")

0 commit comments

Comments
 (0)