AbstractJavaGroovyIncrementalCompilationSupport.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Revert "Enable feature preview for Groovy incremental compilation (#9902)""

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

    • -9
    • +2
    ./AbstractJavaGroovyIncrementalCompilationSupport.groovy
  1. … 18 more files in changeset.
Revert "Enable feature preview for Groovy incremental compilation (#9902)"

This reverts commit 89d0c38146733d7c45452193e304ec2738d503c9.

    • -2
    • +9
    ./AbstractJavaGroovyIncrementalCompilationSupport.groovy
  1. … 18 more files in changeset.
Enable feature preview for Groovy incremental compilation (#9902)

This fixes https://github.com/gradle/gradle/issues/9870

    • -9
    • +2
    ./AbstractJavaGroovyIncrementalCompilationSupport.groovy
  1. … 18 more files in changeset.
Full recompilation on Groovy-Java joint compilation (#9890)

Currently, incremental Groovy compilation only works for files compiled by the Groovy compiler. Java files are compiled by the Java compiler.

This PR disables incremental compiler if Java files found because this might cause incorrectness.

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

    • -0
    • +46
    ./AbstractJavaGroovyIncrementalCompilationSupport.groovy
  1. … 73 more files in changeset.