Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reproduce Scala variant selection failure

    • -0
    • +41
    ./ScalaPluginIntegrationTest.groovy
    • -0
    • +37
    ./ScalaPluginIntegrationTest.groovy
Usage variant aware dependency management to share analysis files

Use artifactView to filter analysis files

  1. … 9 more files in changeset.
Raise minimum build JVM version to Java 8

    • -11
    • +11
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
  1. … 30 more files in changeset.
Avoid iterating over tasks in subprojects from ScalaCompile

  1. … 2 more files in changeset.
    • -1
    • +46
    ./ScalaPluginIntegrationTest.groovy
Remove stale files for scala compilation (#6093)

Whenever Zinc doesn't have the data to remove them.

    • -0
    • +94
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 3 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
    • +4
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -0
    • +1
    ./compile/ZincScalaCompilerIntegrationTest.groovy
  1. … 98 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
    • -2
    • +2
    ./compile/CachedScalaCompileIntegrationTest.groovy
    • -1
    • +1
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -0
    • +2
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -2
    • +9
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -1
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
    • -1
    • +1
    ./compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy
    • -2
    • +2
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
    • -1
    • +4
    ./scaladoc/ScalaDocIntegrationTest.groovy
    • -1
    • +1
    ./test/ScalaTestIntegrationTest.groovy
  1. … 161 more files in changeset.
Fix scala integration tests

    • -2
    • +2
    ./compile/ZincScalaCompilerIntegrationTest.groovy
  1. … 1 more file in changeset.
Remove default parameter from abstract method

+review REVIEW-6575

    • -1
    • +1
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 4 more files in changeset.
Allow enabling build cache in all integration tests

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -9
    • +9
    ./compile/CachedScalaCompileIntegrationTest.groovy
    • -2
    • +2
    ./scaladoc/ScalaDocIntegrationTest.groovy
  1. … 26 more files in changeset.
Convert existing relocation tests to use new one (#3782)

    • -17
    • +10
    ./compile/ScalaCompileRelocationIntegrationTest.groovy
  1. … 9 more files in changeset.
Deprecate support for nested build without a settings.gradle (#3197)

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

    • -0
    • +1
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 8 more files in changeset.
Use `@LocalState` for ScalaCompile's analysis file

    • -0
    • +18
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix tests

+review REVIEW-6565

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

    • -6
    • +2
    ./ScalaBasePluginIntegrationTest.groovy
    • -4
    • +2
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -4
    • +3
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -3
    • +1
    ./compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy
    • -6
    • +2
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 46 more files in changeset.
Merge pull request #2715 from gradle/dc/fixit/ext-mvn-repos

Use internal maven repositories for integration tests running on CI

    • -6
    • +2
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Do not restore file dates when unpacking task outputs (#2667)

    • -0
    • +2
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 5 more files in changeset.
On CI redirect maven central queries to local repo for integration tests

    • -3
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
    • -1
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
    • -6
    • +2
    ./compile/CachedScalaCompileIntegrationTest.groovy
    • -3
    • +1
    ./test/ScalaTestIntegrationTest.groovy
  1. … 105 more files in changeset.
On CI redirect jcenter queries to local repo for integration tests

    • -3
    • +1
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -3
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 50 more files in changeset.
Move test fixture to AvailableJavaHomes

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

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

    • -0
    • +36
    ./compile/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

    • -0
    • +133
    ./ScalaCompilationFixture.groovy
    • -268
    • +0
    ./compile/BasicScalaCompilerIntegrationTest.groovy
    • -0
    • +189
    ./compile/CachedScalaCompileIntegrationTest.groovy
    • -3
    • +2
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -0
    • +55
    ./compile/ScalaCompileRelocationIntegrationTest.groovy
    • -0
    • +109
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -7
    • +243
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -0
    • +72
    ./scaladoc/ScalaDocIntegrationTest.groovy
    • -0
    • +62
    ./scaladoc/ScalaDocRelocationIntegrationTest.groovy
  1. … 15 more files in changeset.
Remove redundant deprecation warning expectations

    • -7
    • +0
    ./compile/BasicScalaCompilerIntegrationTest.groovy
    • -9
    • +0
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -4
    • +0
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -1
    • +0
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
    • -1
    • +0
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 20 more files in changeset.
Enforce exact deprecation warning count

    • -2
    • +1
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 6 more files in changeset.
Fix issue with duplicate compiler daemons and add reuse tests

    • -0
    • +49
    ./compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy
  1. … 16 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
    • -7
    • +7
    ./compile/BasicScalaCompilerIntegrationTest.groovy
    • -12
    • +12
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -1
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
    • -3
    • +3
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 115 more files in changeset.
Fix Groovy and Scala compilation handling of failOnError property

#1615

    • -0
    • +53
    ./compile/BasicScalaCompilerIntegrationTest.groovy
  1. … 5 more files in changeset.