ScalaCrossCompilationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let scala tests not use deprecated configurations

    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 19 more files in changeset.
Handle scala jdk version better

    • -1
    • +4
    ./ScalaCrossCompilationIntegrationTest.groovy
Handle scala jdk version better

    • -1
    • +4
    ./ScalaCrossCompilationIntegrationTest.groovy
Update references to 1.6 compatibility to 1.7

    • -1
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 20 more files in changeset.
Update references to 1.6 compatibility to 1.7

    • -1
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 20 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
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 170 more files in changeset.
On CI redirect maven central queries to local repo for integration tests

    • -1
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 108 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

    • -3
    • +3
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 119 more files in changeset.
Track java version when using forked compilation

We introduce a new property on ForkOptions to track the Java home

which contains javac. By doing so, we are able to track the Java

version for forked compilation, too.

+review REVIEW-6467

    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 17 more files in changeset.
Fix ScalaCrossCompilationIntegrationTest

+review REVIEW-6046

    • -0
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 1 more file in changeset.
Move Scala and Groovy cross compilation tests to the correct package

+review REVIEW-6046

    • -0
    • +107
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 3 more files in changeset.