Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -6
    • +10
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 163 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.
Removed `@LeaksFileHandles` from ':scala'

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

    • -47
    • +0
    ./compile/AbstractAntForkingScalaCompilerIntegrationTest.groovy
    • -48
    • +0
    ./compile/AbstractAntInProcessScalaCompilerIntegrationTest.groovy
    • -28
    • +0
    ./compile/AntForkingOlderScalaCompilerIntegrationTest.groovy
    • -24
    • +0
    ./compile/AntForkingScalaCompilerIntegrationTest.groovy
    • -28
    • +0
    ./compile/AntInProcessOlderScalaCompilerIntegrationTest.groovy
    • -25
    • +0
    ./compile/AntInProcessScalaCompilerIntegrationTest.groovy
    • -8
    • +1
    ./compile/BasicScalaCompilerIntegrationTest.groovy
    • -11
    • +0
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -21
    • +1
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 9 more files in changeset.
Fixed test expectations for deprecation warnings.

    • -0
    • +1
    ./compile/AbstractAntForkingScalaCompilerIntegrationTest.groovy
    • -0
    • +1
    ./compile/AbstractAntInProcessScalaCompilerIntegrationTest.groovy
    • -6
    • +7
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
Renamed `GradleExecuter.withDeprecationChecksDisabled()` to reflect its new contract.

    • -3
    • +3
    ./compile/BasicScalaCompilerIntegrationTest.groovy
    • -4
    • +4
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -4
    • +4
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -1
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 24 more files in changeset.
Add explicit option setting for now-deprecated options.

+review REVIEW-5829

- This makes the tests more resilliant in face of future changes to

how these configuration options are calculated.

    • -5
    • +6
    ./compile/AbstractAntInProcessScalaCompilerIntegrationTest.groovy
    • -1
    • +8
    ./compile/ZincScalaCompilerIntegrationTest.groovy
Fix even more broken integration tests.

+review REVIEW-5829

    • -0
    • +8
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -0
    • +4
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -0
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix integration tests which use ScalaCompiler.

+review REVIEW-5829

- These tests were failing because the ScalaCompiler implementation

now uses deprecated getter methods.

    • -0
    • +6
    ./compile/BasicScalaCompilerIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove a redundant Scala Compiler Integration Test.

+review REVIEW-5815

    • -19
    • +0
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
  1. … 5 more files in changeset.
Deprecate the useAnt option in the ScalaCompileOptions.

+review REVIEW-5829

- Disable deprecation warnings in JreJavaHomeScalaIntegrationTest

- Remove many uses of useAnt = false

    • -5
    • +1
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -4
    • +0
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
    • -4
    • +6
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
  1. … 10 more files in changeset.
Merge branch 'master' of https://github.com/maiflai/gradle into maiflai-master

    • -0
    • +19
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -0
    • +19
    ./compile/ZincScalaCompilerIntegrationTest.groovy
  1. … 2 more files in changeset.
Changing Scala samples integration tests to always use Zinc compiler

+review REVIEW-5802

    • -2
    • +2
    ./ScalaBasePluginIntegrationTest.groovy
    • -2
    • +2
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -1
    • +1
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
    • -2
    • +2
    ./test/ScalaTestIntegrationTest.groovy
  1. … 7 more files in changeset.
Specify MaxPermSize setting for forked compiler in test

- attempt to fix sporadic failures

    • -4
    • +9
    ./compile/AbstractAntForkingScalaCompilerIntegrationTest.groovy
Remove scala console task

+review REVIEW-5725

    • -2
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
Removed scala console tasks

From the discussion, located at:

https://discuss.gradle.org/t/scalaconsole-fails-for-gradle-2-6/11147,

it was suggested that the scalaConsole task be removed, since it

doesn't have ay automated test coverage, wasn't documened and

wasn't ever finshed properly.

    • -19
    • +19
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Some tweaks to heap settings for scala compilation int tests.

    • -3
    • +6
    ./compile/AbstractAntInProcessScalaCompilerIntegrationTest.groovy
    • -1
    • +1
    ./compile/AntInProcessOlderScalaCompilerIntegrationTest.groovy
  1. … 1 more file in changeset.
Scala plugin should be able to be applied, regardless of the JVM we're running on.