IncrementalJavaCompileIntegrationTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Groovy incremental compilation support (#9616)

Inspired by https://github.com/gradle/gradle/pull/9388 , this PR implements Groovy compilation avoidance. Unlike Java, things are a little more complex in Groovy compilation - a compilation unit can generate multiple classes. Thus, we introduced a `sourceClassMappingFile`, which records the source to classes mappings during the compilation process. Later, we can use this information in incremental compiler: only the affected groovy source files get recompiled in next compilation.

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 73 more files in changeset.
Test groovy incremental support

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 38 more files in changeset.
Test groovy incremental compilation

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 38 more files in changeset.
Rewrite the tests for Groovy incremental compilation

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 21 more files in changeset.
Rewrite the tests for Groovy incremental compilation

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 21 more files in changeset.
Groovy incremental compilation support

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 45 more files in changeset.
Groovy incremental compilation support

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 45 more files in changeset.
Groovy incremental compilation support

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 45 more files in changeset.
Daily commit

    • -216
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 33 more files in changeset.
Let plugins tests not use deprecated configurations

    • -1
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 36 more files in changeset.
Let plugins tests not use deprecated configurations

    • -1
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 36 more files in changeset.
Let plugins tests not use deprecated configurations

    • -1
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 33 more files in changeset.
Let plugins tests not use deprecated configurations

    • -1
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 36 more files in changeset.
Revert "Merge pull request #8880 from gradle/wolfs/jvm/relative-path-sensitivity"

This reverts commit f7abeaa588803ddbfb93dbf25239fe0c5cb79196, reversing

changes made to 7df0f4def46aa392b99d620cae35056cddb36f23.

    • -28
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 3 more files in changeset.
Add test for moving a java source the hierarchy

    • -0
    • +28
    ./IncrementalJavaCompileIntegrationTest.groovy
Add test for moving a java source in the hierarchy

    • -0
    • +28
    ./IncrementalJavaCompileIntegrationTest.groovy
Update references to 1.6 compatibility to 1.7

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

    • -1
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 20 more files in changeset.
Make incremental compilation the default.

    • -27
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 24 more files in changeset.
Fix plugins usages of output test fixtures

    • -2
    • +2
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 8 more files in changeset.
Do not treat CompileOptions.incremental as input

Changing this parameter should not influence the output of the task in any way, and thus should not be treated as an input.

    • -3
    • +39
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix incremental compilation with inner classes

Issue: #2996

    • -0
    • +27
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix incremental compilation with inner classes

Issue: #2996

    • -0
    • +27
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove deprecated JVM platform classes and methods

- setDependencyCacheDir in java plugin and CompileOptions

- Use of Ant <depend> task and Depend options

- Javadoc setOptions

- Manifest.writeTo(Writer)

- JavaPluginConvention.setProject

Issue: #1722

    • -30
    • +0
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 21 more files in changeset.
Fix nb of expected deprecation warnings

    • -2
    • +4
    ./IncrementalJavaCompileIntegrationTest.groovy
Several fixes now that incremental Java compilation is not incubating anymore

    • -0
    • +1
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Change unrelated class to test incremental compile

    • -18
    • +9
    ./IncrementalJavaCompileIntegrationTest.groovy
  1. … 3 more files in changeset.
Beautify converted Spock test

    • -10
    • +37
    ./IncrementalJavaCompileIntegrationTest.groovy