Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename VirtualFileSystem -> FileSystemAccess

    • -3
    • +3
    ./JavaLanguagePluginServiceRegistry.java
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -3
    • +3
    ./JavaLanguagePluginServiceRegistry.java
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -3
    • +3
    ./JavaLanguagePluginServiceRegistry.java
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -3
    • +3
    ./JavaLanguagePluginServiceRegistry.java
  1. … 53 more files in changeset.
Revert "Move JavaCompilerFactory and dependencies to build tree scope"

This reverts commit e251e847366ae158b8ee9ed68bee8b058be50795.

    • -9
    • +3
    ./JavaLanguagePluginServiceRegistry.java
    • -10
    • +4
    ./JavaToolChainServiceRegistry.java
  1. … 4 more files in changeset.
Revert "Move JavaCompilerFactory and dependencies to build tree scope"

This reverts commit e251e847366ae158b8ee9ed68bee8b058be50795.

    • -9
    • +3
    ./JavaLanguagePluginServiceRegistry.java
    • -10
    • +4
    ./JavaToolChainServiceRegistry.java
  1. … 4 more files in changeset.
WIP: try to only share AnnotationProcessorDetector

    • -3
    • +4
    ./JavaLanguagePluginServiceRegistry.java
  1. … 3 more files in changeset.
Move JavaCompilerFactory and dependencies to build tree scope

    • -3
    • +9
    ./JavaLanguagePluginServiceRegistry.java
    • -4
    • +10
    ./JavaToolChainServiceRegistry.java
  1. … 4 more files in changeset.
Move JavaCompilerFactory and dependencies to build tree scope

    • -3
    • +9
    ./JavaLanguagePluginServiceRegistry.java
    • -4
    • +10
    ./JavaToolChainServiceRegistry.java
  1. … 4 more files in changeset.
Move JavaCompilerFactory and dependencies to build tree scope

    • -3
    • +9
    ./JavaLanguagePluginServiceRegistry.java
    • -4
    • +10
    ./JavaToolChainServiceRegistry.java
  1. … 4 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Use real compiler factory for toolchain-based compiler

  1. … 13 more files in changeset.
Split service from interface

    • -2
    • +2
    ./JavaLanguagePluginServiceRegistry.java
  1. … 3 more files in changeset.
Use `DirectoryProperty` for toolchain path

    • -2
    • +3
    ./JavaLanguagePluginServiceRegistry.java
  1. … 5 more files in changeset.
Manage java installations via settings

See `JavaInstallationContainerIntegrationTest`

    • -0
    • +17
    ./JavaLanguagePluginServiceRegistry.java
  1. … 8 more files in changeset.
Try out compiling with tool as input to task

Relevant bits:

* JavaCompileWithJavaInstallationsIntegrationTest

* JavaCompile#getCompiler

    • -0
    • +15
    ./JavaToolChainServiceRegistry.java
  1. … 15 more files in changeset.
WIP

  1. … 5 more files in changeset.
WIP

  1. … 1 more file in changeset.
WIP

WIP

  1. … 2 more files in changeset.
WIP

  1. … 2 more files in changeset.
WIP

  1. … 4 more files in changeset.
WIP

  1. … 7 more files in changeset.
Rework how the compiler plugin is loaded

The previous implementation had a performance regression due to the inclusion of `tools.jar`

on the worker classpath. Some classes of the Java compiler were loaded multiple times. To

avoid this, we need to separate the compiler plugin from Gradle itself, so that we can load

it in isolation in the same classloader as the loader which has `tools.jar`.

Therefore, the compiler plugin is restricted to plain Java APIs, and the "communication"

with Gradle, for example the intelligence of relativizing paths or writing the generated

mapping file, is done passing lambdas to the compiler.

Last but not least, this also means that the construction of the incremental compile task

has to be done via reflection (otherwise we would load the task in the wrong classloader).

  1. … 21 more files in changeset.
Rework how the compiler plugin is loaded

The previous implementation had a performance regression due to the inclusion of `tools.jar`

on the worker classpath. Some classes of the Java compiler were loaded multiple times. To

avoid this, we need to separate the compiler plugin from Gradle itself, so that we can load

it in isolation in the same classloader as the loader which has `tools.jar`.

Therefore, the compiler plugin is restricted to plain Java APIs, and the "communication"

with Gradle, for example the intelligence of relativizing paths or writing the generated

mapping file, is done passing lambdas to the compiler.

Last but not least, this also means that the construction of the incremental compile task

has to be done via reflection (otherwise we would load the task in the wrong classloader).

  1. … 21 more files in changeset.
WIP

  1. … 20 more files in changeset.