Skip to content

Commit

Permalink
Merge pull request #149 from cstroe/play-2.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JLLeitschuh authored Oct 5, 2020
2 parents 72c5001 + d41e3df commit dea5920
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
env: GRADLE_TASK=integrationTest PLAY_VERSION=2.5.19
- name: "Play 2.6.25 Integration Tests"
env: GRADLE_TASK=integrationTest PLAY_VERSION=2.6.25
- name: "Play 2.7.3 Integration Tests"
env: GRADLE_TASK=integrationTest PLAY_VERSION=2.7.3
- name: "Play 2.7.5 Integration Tests"
env: GRADLE_TASK=integrationTest PLAY_VERSION=2.7.5
- name: "Documentation Tests"
env: GRADLE_TASK=docTest PLAY_VERSION=not_used

Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/00-intro.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Play plugin defines the following requirements for a consuming build.

* The build has to be run with Java 8 or higher.
* The build has to use Gradle 5.0 or higher.
* The supported Play versions are 2.4.x, 2.5.x and 2.6.x.
* The supported Play versions are 2.4.x, 2.5.x, 2.6.x, and 2.7.x.

=== Limitations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class PlayCoverage {
VersionNumber.parse('2.3.10'),
VersionNumber.parse('2.4.11'),
VersionNumber.parse('2.5.19'),
VersionNumber.parse('2.7.3'),
VersionNumber.parse('2.7.5'),
// Not supported yet
// VersionNumber.parse('2.8.0'),
DEFAULT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ protected boolean isGenerateRefReverseRouter() {

@Override
public String getDependencyNotation() {
if (playVersion.equals("2.7.4") || playVersion.equals("2.7.5")) {
// this is a hack because of a Play Framework issue
// See: https://github.com/playframework/playframework/issues/10333
return "com.typesafe.play:routes-compiler_" + scalaVersion + ":2.7.3";
}
return "com.typesafe.play:routes-compiler_" + scalaVersion + ":" + playVersion;
}

Expand Down

0 comments on commit dea5920

Please sign in to comment.