Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace internal `SourceDirectorySetFactory` with a method on public `ObjectFactory` service, to allow plugins to create instances of this type without resorting to using internal types.

  1. … 44 more files in changeset.
Remove Play 2.2 support

This commit removes support for Play Framework 2.2 which was previously

deprecated.

Signed-off-by: Ben McCann <ben@benmccann.com>

  1. … 13 more files in changeset.
Use the fingerprint package

  1. … 86 more files in changeset.
Rename Snapshotter -> Fingerprinter

  1. … 37 more files in changeset.
Use PathToFileResolver where possible (#5805)

  1. … 39 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`.

  1. … 169 more files in changeset.
Normalize `ModuleIdentifier`

This commit reworks the `ComponentModuleIdentifier`/`ComponentModuleSelector`/`ModuleVersionSelector`

classes to use `ModuleIdentifier` under the hood, instead of storing denormalized strings. This has

the advantage that we can reduce the use of the module identifier factory, which is called very

often during dependency resolution. Sharing instances reduces the need for conversions, and makes

comparisons faster.

    • -1
    • +2
    ./play/plugins/PlayDistributionPluginRenameArtifactFilesTest.groovy
  1. … 164 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

    • -0
    • +5
    ./play/plugins/PlayTestPluginTest.groovy
  1. … 88 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

    • -5
    • +0
    ./play/plugins/PlayTestPluginTest.groovy
  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

    • -0
    • +5
    ./play/plugins/PlayTestPluginTest.groovy
  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection in tests (#4972)

Reduce the number of static factory methods from ImmutableFileCollection

Use layout.fileFor() in a smoke test

  1. … 32 more files in changeset.
Don't reload play application after assets change

Signed-off-by: Bo Zhang <bo@gradle.com>

  1. … 10 more files in changeset.
Remove FileResolver.resolveLater(), since resolve() is cheap now

This is a follow-up to making FileResolver faster. It is now

so cheap that resolveLater() no longer serves any purpose. The

result can no longer be different over time either, as resolve()

no longer looks at the file system.

Removing that code saves a lot of memory when repeatedly looking

up the build directory of a project (which happens a lot).

  1. … 9 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
    ./play/plugins/PlayDistributionPluginTest.groovy
  1. … 1 more file in changeset.
Fix #2999: runPlayBinary needs to be adapted for Play 2.6 (#3018)

Scala 2.12 as the preferred version when using Play 2.6

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

Add Play 2.6 and scala 2.12 support.

    • -35
    • +22
    ./play/internal/PlayPlatformResolverTest.groovy
  1. … 15 more files in changeset.
Fix sanity check build with new workingDir property of PlayRun

  1. … 3 more files in changeset.
Make the working directory of PlayRun task type configurable

Issue: #3188

The working directory of PlayRun task defaults to project directory, but now it can be configured by users as well

  1. … 2 more files in changeset.
Moved Deployment API back to internal

This API is not ready for public use, and we don't have

time currently to improve it. So it's being moved

(temporarily) back into the internal API.

  1. … 19 more files in changeset.
Fix RunningPlayApp since this is used when running Play outside of Gradle too

    • -5
    • +21
    ./play/integtest/fixtures/RunningPlayAppTest.groovy
  1. … 1 more file in changeset.
Revert "Revert "Look for the Play started message from Gradle vs Play""

This reverts commit e30c0ec54a32826550641ac9f095856c0ef2e5d2.

    • -0
    • +37
    ./play/integtest/fixtures/RunningPlayAppTest.groovy
  1. … 1 more file in changeset.
Revert "Look for the Play started message from Gradle vs Play"

This reverts commit 7318e374a7232b2c9bca7511eb8e280445217f37.

    • -37
    • +0
    ./play/integtest/fixtures/RunningPlayAppTest.groovy
  1. … 1 more file in changeset.
Look for the Play started message from Gradle vs Play

The Play framework seems to say its listening before the Play application fully starts

which causes a race condition in our integration tests.

Gradle produces a similar message after the Play application has had

time to start, so this should be after the application is ready.

    • -0
    • +37
    ./play/integtest/fixtures/RunningPlayAppTest.groovy
  1. … 1 more file in changeset.
Merged PlayWorkerClient and PlayApplicationRunnerToken

  1. … 5 more files in changeset.
Moved deployment API into public `org.gradle.deployment`

  1. … 24 more files in changeset.
Rename BuildGateToken to ContinuousExecutionGate

  1. … 17 more files in changeset.
Refactor non-continuous build PlayRun to move deployments to the end of the build

    • -18
    • +8
    ./play/internal/run/PlayApplicationDeploymentHandleTest.groovy
  1. … 19 more files in changeset.
Spike deployment reload rework

  1. … 15 more files in changeset.
Refer to the BuildGateToken as the buildGate

  1. … 9 more files in changeset.
Simplify deployment handle interface

    • -12
    • +8
    ./play/internal/run/PlayApplicationDeploymentHandleTest.groovy
  1. … 12 more files in changeset.
Wire build gate into Play runner classes

    • -36
    • +0
    ./play/plugins/PlayCoffeeScriptPluginTest.groovy
  1. … 18 more files in changeset.