AbstractGroovyCompileAvoidanceIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Apply review suggestions

    • -19
    • +19
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Apply review suggestions

    • -19
    • +19
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Format affected files

    • -40
    • +40
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Format affected files

    • -40
    • +40
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Revert "Revert "Enable feature preview for Groovy incremental compilation (#9902)""

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 89d0c38146733d7c45452193e304ec2738d503c9.

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

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

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 18 more files in changeset.
Use feature preview for Groovy incremental compilation

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 15 more files in changeset.
Use feature preview for Groovy incremental compilation

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 15 more files in changeset.
Use feature preview for Groovy incremental compilation

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 15 more files in changeset.
Rename compilePluginClasspath to astTransformationClasspath (#9794)

Rename compilePluginClasspath to astTransformationClasspath

See https://github.com/gradle/gradle/issues/9606

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 4 more files in changeset.
Rename compilePluginClasspath to astTransformationClasspath

See https://github.com/gradle/gradle/issues/9606

    • -1
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 4 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.

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 73 more files in changeset.
Test groovy incremental support

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 38 more files in changeset.
Test groovy incremental support

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 38 more files in changeset.
Test groovy incremental compilation

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 38 more files in changeset.
Removed empty init block compiler avoidance assumptions in Groovy

Empty default constructors and empty static initializers generate slightly different code than before

    • -30
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
Removed empty init block compiler avoidance assumptions in Groovy

Empty default constructors and empty static initializers generate slightly different code than before

    • -30
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
Removed empty init block compiler avoidance assumptions in Groovy

Empty default constructors and empty static initializers generate slightly different code than before

    • -30
    • +1
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
Separate a few diverging up-to-date check tests from common Groovy/Java class

Methods are unchanged for now

    • -0
    • +199
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 2 more files in changeset.
Separate a few diverging up-to-date check tests from common Groovy/Java class

Methods are unchanged for now

    • -0
    • +199
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 2 more files in changeset.
Separate a few diverging up-to-date check tests from common Groovy/Java class

Methods are unchanged for now

    • -0
    • +199
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 2 more files in changeset.
Rewrite the tests for Groovy incremental compilation

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

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

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

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

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

    • -1
    • +3
    ./AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 45 more files in changeset.