PlayApplicationPluginIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 502 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 499 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 508 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -147
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 499 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 65 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://github.com/gradle/gradle/issues/9412

    • -0
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 65 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 68 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 65 more files in changeset.
Revert "Allow deprecation warnings for play tests"

This reverts commit 90f3d5cc466fa3e459b9d29fcf55f841de82892d.

    • -7
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Revert "Allow deprecation warnings for play tests"

This reverts commit 90f3d5cc466fa3e459b9d29fcf55f841de82892d.

    • -7
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Allow deprecation warnings for play tests

    • -0
    • +7
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Re-enable Play/Scala tests on Java 9+ (#5593)

Almost all Play/Scala tests were ignored on Java 9/10, which makes it lack coverage. This PR does:

- Update Scala version to Java9-compatible version according to [JDK compatibility](https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html).

- Update default Play version to latest 2.6.15, which supports Java 9/10

- Adjust corresponding samples. Previous default Play version 2.3.10 was too old (release at 2014).

- Ignored the tests which can't work on Java 9+.

- Separate Play test resources with different versions. For example, Play 2.6 uses `build.gradle` and `Play 2.4/2.5` uses `build.gradle.old`.

- Previously `AbstractMultiVersionPlayContinuousBuildIntegrationTest` didn't have `targetPlatform` configuration, which made multi-version tests meaningless

- Fix `play-logback` configuration for `2.5.18`.

    • -0
    • +3
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 170 more files in changeset.
Fix spelling of PLAY_REPOSITORIES in test fixtures

    • -2
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 12 more files in changeset.
Fix integration tests: we don't configure tasks for empty Twirl and Routes source sets

The language infrastructure avoids creating tasks for source sets that don't have any

sources. This was done because we _create_ a source set for every applicable language,

and we wanted to avoid the user see a compile task for every one of these when their

component only used one type of source.

So if a project applies a bunch of language plugins, we wanted to only create

the CompileCpp task if there were actually Cpp sources present.

A better approach to achieve this might be to avoid creating these empty source sets

in the first place.

    • -4
    • +6
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Converted Play Twirl and Routes compilation to use language transform infrastructure

- Transform between Twirl/RoutesSourceSet and `ScalaSourceCode` output type

- Currently only applies to `PlayApplicationBinarySpecInternal` types, and still

depends on properties provided by the binary.

    • -4
    • +4
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 17 more files in changeset.
Fixed typo in method name.

    • -1
    • +1
    ./PlayApplicationPluginIntegrationTest.groovy
Fixed a bunch of tests to work when the machine's line separator is not \n.

    • -6
    • +6
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 26 more files in changeset.
Use a `@Defaults` rule to create default source directories

Revert "Change play plugins and tests to replace default source sets"

This reverts commit 97aafa43999b7e4db18b99325ffb51ca9ccdf8ec.

Revert "Fix unit test"

This reverts commit 2dffb35eae42d654161cde29b5b6c005f8f0bb40.

Revert "Change play tests to replace source sets"

This reverts commit 3431690d8e333dc608b7d2726f7fe4ab185ed4de.

Revert "Fix native test"

This reverts commit ffc5ab1e51dfc0a58478475b517366eda7180c01.

Revert "Change cunit plugin to replace rather than append src dirs"

This reverts commit 1c6f3878da758614e6bd9239b4fd1a9d769bde23.

+review REVIEW-5669

    • -4
    • +3
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 17 more files in changeset.
Change play tests to replace source sets

    • -3
    • +4
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed play repositories configuration in integ tests to use common definition.

+review REVIEW-5582

    • -16
    • +6
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Test this instead in `PlayPlatformComponentReportIntegrationTest`

+review REVIEW-5596

    • -33
    • +0
    ./PlayApplicationPluginIntegrationTest.groovy
Don't render Play ToolChain in components report: it adds no value

    • -2
    • +1
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Reverted the unfinished attempt to move away from ToolChain and ToolProvider to ToolResolver and ResolvedTool

- This work needs a lot more thought and speccing: reverting for now seems like the best option

+review REVIEW-5398

    • -1
    • +2
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 40 more files in changeset.
Remove trailing slash to Typesafe ivy's repo url

+review REVIEW-5535

    • -1
    • +1
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 18 more files in changeset.
Make all references to the ivy typesafe repo the same

+review REVIEW-5535

    • -8
    • +6
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 12 more files in changeset.
update default Play application version to 2.3.9

+review REVIEW-5521

    • -2
    • +3
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 8 more files in changeset.
use separate assets classloader that loads assets from files - use play.runsupport.AssetsClassLoader from Play's run-support library - requires Play >= 2.3.7 - run-support depends on sbt io library that is only available in Typesafe's ivy repository

+review REVIEW-5521

    • -0
    • +7
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 26 more files in changeset.
Tweak Play framework task names for readability

    • -6
    • +6
    ./PlayApplicationPluginIntegrationTest.groovy
  1. … 9 more files in changeset.