IncrementalCompileMultiProjectTestFixture.groovy

Clone Tools
  • last updated a few seconds 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.

    • -12
    • +15
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 73 more files in changeset.
Refine Groovy incremental compilation tests

    • -1
    • +1
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 12 more files in changeset.
Resolve review comments

    • -2
    • +2
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 15 more files in changeset.
Resolve review comments

    • -2
    • +2
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 15 more files in changeset.
Test groovy incremental support

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 38 more files in changeset.
Test groovy incremental compilation

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 38 more files in changeset.
Rewrite the tests for Groovy incremental compilation

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 21 more files in changeset.
Rewrite the tests for Groovy incremental compilation

    • -13
    • +16
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 21 more files in changeset.
Fix method signature

    • -2
    • +2
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 3 more files in changeset.
Groovy incremental compilation support

    • -12
    • +15
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 45 more files in changeset.
Groovy incremental compilation support

    • -12
    • +15
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 45 more files in changeset.
Groovy incremental compilation support

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

    • -12
    • +15
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 45 more files in changeset.
Daily commit

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

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

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

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

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

    • -4
    • +0
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 24 more files in changeset.
    • -2
    • +2
    ./IncrementalCompileMultiProjectTestFixture.groovy
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.

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

    • -0
    • +56
    ./IncrementalCompileMultiProjectTestFixture.groovy
  1. … 3 more files in changeset.