ZincScalaCompilerIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add test coverage for Scala 2.13

    • -9
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 1 more file in changeset.
use JavaConverters and not JavaConversions in Scala code

    • -8
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 2 more files in changeset.
Update list of tested Scala versions

    • -4
    • +0
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 1 more file in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

    • -12
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 16 more files in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

    • -14
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 16 more files in changeset.
Merge remote-tracking branch 'origin/wolfs/fixit/scala-plugin-zinc-update' into sg/60/zinc-upgrade-2

* origin/wolfs/fixit/scala-plugin-zinc-update:

Use forking when running in parallel

Fix IDE test expectations and mention breaking change

Document Zinc compiler upgrade

Add test case for #8421

Recognize contributor in release notes

Don't use static state

Remove unused `javaHome`

upgraded Scala zinc compiler to version 1.2.5

    • -8
    • +18
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 25 more files in changeset.
Let scala tests not use deprecated configurations

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

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

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

    • -2
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 19 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 19 more files in changeset.
Fix issues with zinc compiler in new classloader structure

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 15 more files in changeset.
Fix issues with zinc compiler in new classloader structure

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 15 more files in changeset.
Use same classloader structure for zinc compiler

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 9 more files in changeset.
Use same classloader structure for zinc compiler

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 9 more files in changeset.
upgraded Scala zinc compiler to version 1.2.5

Additionally introduces Scala compiler daemon that remains warm across build, improving further incremental compilation times

Signed-off-by: Predrag Knezevic <pedjak@gmail.com>

    • -8
    • +18
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 30 more files in changeset.
Use global init script to set mirrors for buildSrc (#6627)

    • -1
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 50 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -0
    • +1
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 99 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`.

    • -2
    • +9
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 170 more files in changeset.
Fix scala integration tests

    • -2
    • +2
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 1 more file in changeset.
Use mavenCentral() and jcenter() mirrors in tests where possible

    • -4
    • +3
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 51 more files in changeset.
Move test fixture to AvailableJavaHomes

    • -4
    • +5
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 4 more files in changeset.
Add some test coverage for fork options settings

    • -1
    • +16
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 2 more files in changeset.
Make compiler daemons sensitive to only BaseForkOptions

    • -0
    • +36
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 9 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

    • -7
    • +243
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 23 more files in changeset.
Remove redundant deprecation warning expectations

    • -4
    • +0
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 24 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

    • -12
    • +12
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 119 more files in changeset.
Removed `@LeaksFileHandles` from ':scala'

    • -2
    • +0
    ./ZincScalaCompilerIntegrationTest.groovy
Remove the AntScalaCompiler.

    • -11
    • +0
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 17 more files in changeset.
Renamed `GradleExecuter.withDeprecationChecksDisabled()` to reflect its new contract.

    • -4
    • +4
    ./ZincScalaCompilerIntegrationTest.groovy
  1. … 27 more files in changeset.