AbstractJavaCompileAvoidanceIntegrationSpec.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>

    • -5
    • +5
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :plugins

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

    • -0
    • +5
    ./AbstractJavaCompileAvoidanceIntegrationSpec.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
    • +5
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 25 more files in changeset.
Separate empty initializers and constructor change from adding empty ones

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

    • -20
    • +3
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Add Java compile avoidance test for constructor and static initializer

    • -6
    • +69
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file in changeset.
Add Java compile avoidance test for constructor and static initializer

    • -6
    • +69
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 1 more file 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.

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

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

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

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

    • -2
    • +2
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 38 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
    ./AbstractJavaCompileAvoidanceIntegrationSpec.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
    ./AbstractJavaCompileAvoidanceIntegrationSpec.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
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 2 more files in changeset.
Rewrite the tests for Groovy incremental compilation

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

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

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

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

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

    • -2
    • +2
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 45 more files in changeset.
Daily commit

    • -2
    • +2
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 33 more files in changeset.
Groovy compilation avoidance: first step (#9513)

### Context

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

We want to enable compilation avoidance for Groovy: the Groovy transformation classpath should be normailzed with `@Classpath` and other classpath should be normalized with `@CompileClasspath`. This PR adds a `compilerPluginClasspath` field (the name is not finalized yet, suggestion is always welcomed) to `GroovyCompile`. Users can enable `org.gradle.groovy.compilation.avoidance` and set `compilerPluginClasspath`.

    • -803
    • +70
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 13 more files in changeset.
Let plugins tests not use deprecated configurations

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

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

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

    • -5
    • +5
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 36 more files in changeset.
Adjust compilation avoidance tests structure

    • -0
    • +288
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 11 more files in changeset.
Rewrite tests for Java/Groovy compilation avoidance

    • -1021
    • +0
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 10 more files in changeset.
Ignore annotation processors on compile classpath

Resolves #6296.

    • -105
    • +1
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 17 more files in changeset.
Make incremental compilation the default.

    • -2
    • +2
    ./AbstractJavaCompileAvoidanceIntegrationSpec.groovy
  1. … 24 more files in changeset.