AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -11
    • +11
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 872 more files in changeset.
Move skip reasons to @FailsWithInstantExecution and drop @IgnoreWithInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 45 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 126 more files in changeset.
Simplify enabling feature previews from tests

    • -2
    • +3
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 9 more files in changeset.
Annotate integ tests failing with instant execution in :plugins

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +12
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 25 more files in changeset.
Annotate integ tests failing with instant execution in :plugins

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +12
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 25 more files in changeset.
Remove redundant elements in compile avoidance test

    • -4
    • +0
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Remove redundant elements in compile avoidance test

    • -4
    • +0
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Update subprojects/plugins/src/integTest/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

    • -1
    • +1
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Update subprojects/plugins/src/integTest/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

    • -1
    • +1
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Apply review suggestions

    • -26
    • +26
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Apply review suggestions

    • -26
    • +26
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Separate empty initializers and constructor change from adding empty ones

    • -0
    • +48
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Separate empty initializers and constructor change from adding empty ones

    • -0
    • +48
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Format affected files

    • -46
    • +44
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Format affected files

    • -46
    • +44
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Remove constructor and static initializer test assertions from combined Groovy/Java avoidance suite

    • -48
    • +1
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Remove constructor and static initializer test assertions from combined Groovy/Java avoidance suite

    • -48
    • +1
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
Revert "Revert "Enable feature preview for Groovy incremental compilation (#9902)""

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 7fa30e028e0edef93c3acfaa60d2992cf8910865.

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

This reverts commit 89d0c38146733d7c45452193e304ec2738d503c9.

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

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

    • -5
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 18 more files in changeset.
Use FeaturePreviewFixture

    • -1
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 4 more files in changeset.
Use FeaturePreviewFixture

    • -1
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 4 more files in changeset.
Use feature preview for Groovy incremental compilation

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

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

    • -5
    • +1
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 15 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.

    • -30
    • +10
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 73 more files in changeset.
Refine Groovy incremental compilation tests

    • -2
    • +2
    ./AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
  1. … 12 more files in changeset.