PlayDistributionPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unit tests covered by integration tests in Play project

    • -93
    • +0
    ./PlayDistributionPluginTest.groovy
Fix Play unit test

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

    • -270
    • +0
    ./PlayDistributionPluginTest.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

    • -270
    • +0
    ./PlayDistributionPluginTest.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

    • -270
    • +0
    ./PlayDistributionPluginTest.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

    • -270
    • +0
    ./PlayDistributionPluginTest.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

    • -270
    • +0
    ./PlayDistributionPluginTest.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

    • -270
    • +0
    ./PlayDistributionPluginTest.groovy
  1. … 499 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

  1. … 127 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

    • -3
    • +16
    ./PlayDistributionPluginTest.groovy
  1. … 60 more files in changeset.
Fix play unit test

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`.

  1. … 170 more files in changeset.
Fix #3029: Use correct server class when distributing Play applications (#3314)

Use correct server class when distributing Play applications

Fix https://github.com/gradle/gradle/issues/3029

    • -3
    • +19
    ./PlayDistributionPluginTest.groovy
  1. … 1 more file in changeset.
Address review items

+review REVIEW-5772

  1. … 2 more files in changeset.
Fix unit test

+review REVIEW-5772

  1. … 1 more file in changeset.
Make Zip and Tar tasks depend on stage task again

+review REVIEW-5772

    • -12
    • +2
    ./PlayDistributionPluginTest.groovy
  1. … 3 more files in changeset.
Add Tar task to play distribution

    • -2
    • +21
    ./PlayDistributionPluginTest.groovy
  1. … 7 more files in changeset.
Deduplicate project dependencies in Play distributions

- Changed stage task to Sync because when we change dependencies, we were including both old and new

- Add a "renamer" that knows how to rename project dependencies in the playRun configuration to be unique

+review REVIEW-5766

  1. … 6 more files in changeset.
Updated play plugins to remove component name from the name of the play binary.

  1. … 12 more files in changeset.
Fix play unit tests

  1. … 1 more file in changeset.
Play documentation - updates to the userguide - set missing descriptions on play tasks - add minimal validation for compile sample test

+review REVIEW-5510

  1. … 11 more files in changeset.
Introduce ModelMap extends CollectionBuilder and allow to use them interchangeably in rules

+review REVIEW-5491

  1. … 117 more files in changeset.
Converted `PlayDistributionContainer` into a container of `Distribution` instances

- Container is currently registered by the play-framework plugins

- No registered Distribution types: play-framework creates and adds a `PlayDistribution`

+review REVIEW-5324

  1. … 4 more files in changeset.
Removing the ability to add arbitrary play distributions

+review REVIEW-5324

    • -11
    • +23
    ./PlayDistributionPluginTest.groovy
  1. … 6 more files in changeset.
Minor cleanup of play distribution plugin

+review REVIEW-5324

  1. … 1 more file in changeset.
Making play binary required on play distributions

+review REVIEW-5324

    • -18
    • +9
    ./PlayDistributionPluginTest.groovy
  1. … 2 more files in changeset.
Fixing issue with line-too-long errors in play distribution run tests on Windows

+review REVIEW-5324

    • -21
    • +38
    ./PlayDistributionPluginTest.groovy
  1. … 5 more files in changeset.
Refactoring/cleanup of Play distribution story

- Changed distribution to use new "playRun" configuration instead of binary.getClasspath()

- Removed version from distribution zip and explicitly set archiveName

- Wired stage and dist tasks more tightly

- Split up and refactored createDistributionTasks method in plugin rules class

+review REVIEW-5324

    • -27
    • +42
    ./PlayDistributionPluginTest.groovy
  1. … 6 more files in changeset.
Creating shutdown hook to deal with play distribution batch script issues and making dist use stage directory.

+review REVIEW-5324

  1. … 12 more files in changeset.
Added compileClasspath to play app binary

  1. … 4 more files in changeset.