JavaConventionalSourceFileClassNameConverterTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use normalized path for inferring class names

Instead of relativizing the path to source roots. The information of

the relative path is already available, so why bother inferring it

again.

    • -43
    • +0
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 7 more files in changeset.
Use normalized path for inferring class names

Instead of relativizing the path to source roots. The information of

the relative path is already available, so why bother inferring it

again.

    • -43
    • +0
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 6 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.

    • -0
    • +43
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 27 more files in changeset.
Tests for followups of incremental Groovy compilation

    • -0
    • +43
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 5 more files in changeset.
Test for fixing issue of removing source dirs

    • -0
    • +41
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 4 more files in changeset.
Test for fixing issue of removing source dirs

    • -0
    • +41
    ./JavaConventionalSourceFileClassNameConverterTest.groovy
  1. … 5 more files in changeset.