ScalaCoverage.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove duplicated test coverage from Scala coverage

Avoid fixing Scaladoc for now

  1. … 1 more file in changeset.
Also test Scala 2.13.0

Bump Scala coverage to 2.13.1

Add test coverage for Scala 2.13

  1. … 1 more file in changeset.
Remove test coverage for Scala 2.13

Fix codenarc

  1. … 1 more file in changeset.
Update list of tested Scala versions

  1. … 1 more file in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

  1. … 16 more files in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

  1. … 16 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. … 170 more files 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.

  1. … 16 more files in changeset.
Make `ScalaCompile` and `ScalaDoc` cacheable (#2399)

This adds test coverage with respect to caching and incremental builds for `ScalaCompile` and `ScalaDoc` and makes both tasks cacheable.

Issue: #1956

Based on PR: #1958

  1. … 23 more files in changeset.
introduce ScalaCoverage test fixture; in daemon mode only run against one target version

+review REVIEW-5106

    • -0
    • +32
    ./ScalaCoverage.groovy
  1. … 8 more files in changeset.