Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move compiler parameters into compiler implementation classes

  1. … 5 more files in changeset.
Move compiler parameters into compiler implementation classes

  1. … 5 more files in changeset.
Follow-ups of incremental Groovy compilation (#9848)

This PR:

- Closes https://github.com/gradle/gradle/issues/9785 and https://github.com/gradle/gradle/issues/9380

- Adds tests for

- Multiple classes in a same source Groovy file.

- Moving files between source set roots

Previously, removing a source directory from a source set would break the Java (and Groovy) incremental compiler (https://github.com/gradle/gradle/issues/9380). This PR detects this case and runs a full recompilation.

It also records relative path instead of absolute path in Groovy incremental compilation to make it build-cache-friendly.

  1. … 25 more files in changeset.
Resolve feedbacks

  1. … 2 more files in changeset.
Resolve feedbacks

  1. … 1 more file in changeset.
Resolve feedbacks

  1. … 2 more files in changeset.
Fix failed unit tests

  1. … 1 more file in changeset.
Fix failed unit tests

  1. … 2 more files in changeset.
Tests for followups of incremental Groovy compilation

  1. … 3 more files in changeset.
Test for fixing issue of removing source dirs

  1. … 3 more files in changeset.
Test for fixing issue of removing source dirs

  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. … 71 more files in changeset.
Use isolated parameters for all worker isolation modes

  1. … 42 more files in changeset.
Use isolated parameters for all worker isolation modes

  1. … 44 more files in changeset.
Use isolated parameters for all worker isolation modes

  1. … 44 more files in changeset.
Use isolated parameters for all worker isolation modes

  1. … 44 more files in changeset.
Construct a reverse map to avoid performance penalty

  1. … 1 more file in changeset.
Construct a reverse map to avoid performance penalty

  1. … 1 more file in changeset.
Test groovy incremental support

  1. … 37 more files in changeset.
Test groovy incremental support

  1. … 37 more files in changeset.
Test groovy incremental support

  1. … 37 more files in changeset.
Test groovy incremental compilation

  1. … 37 more files in changeset.
Publish all projects

  1. … 2 more files in changeset.
Move API classes back to :base-serivces

  1. … 32 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 52 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Rewrite the tests for Groovy incremental compilation

  1. … 20 more files in changeset.
Rewrite the tests for Groovy incremental compilation

  1. … 20 more files in changeset.