internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Let instant execution reuse classloaders when loading"

    • -3
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -4
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -5
    • +3
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -14
    • +7
    ./DefaultScriptCompilationHandler.java
    • -4
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 30 more files in changeset.
Re-allows multiple `plugins` blocks in the Groovy DSL

    • -2
    • +0
    ./InitialPassStatementTransformer.java
  1. … 1 more file in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

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

    • -2
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -3
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -3
    • +2
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -6
    • +4
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

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

    • -2
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -3
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -3
    • +2
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -6
    • +4
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

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

    • -2
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -3
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -3
    • +2
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -6
    • +4
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

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

    • -2
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -3
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -3
    • +2
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -6
    • +4
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Simplify ScriptCompiler.compile() contract

Not requiring the ClassLoader anymore but only the ClassLoaderScope

as all implementations now use the export loader from the given scope.

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

    • -2
    • +2
    ./BuildOperationBackedScriptCompilationHandler.java
    • -3
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -3
    • +2
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -6
    • +4
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Add TODO:instant-execution to use a scope for Groovy script classes

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

    • -0
    • +1
    ./DefaultScriptCompilationHandler.java
Add TODO:instant-execution to use a scope for Groovy script classes

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

    • -0
    • +1
    ./DefaultScriptCompilationHandler.java
Add TODO:instant-execution to use a scope for Groovy script classes

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

    • -0
    • +1
    ./DefaultScriptCompilationHandler.java
Add TODO:instant-execution to use a scope for Groovy script classes

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

    • -0
    • +1
    ./DefaultScriptCompilationHandler.java
Add TODO:instant-execution to use a scope for Groovy script classes

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

    • -0
    • +1
    ./DefaultScriptCompilationHandler.java
Apply `Inner class may be 'static'` inspection the whole project

    • -1
    • +1
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +12
    ./TaskDefinitionScriptTransformer.java
  1. … 40 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 666 more files in changeset.
Apply `'try finally' replaceable with 'try' with resources` inspection the whole project

    • -8
    • +2
    ./DefaultScriptCompilationHandler.java
    • -10
    • +4
    ./FileCacheBackedScriptClassCompiler.java
  1. … 52 more files in changeset.
Apply `Merge identical catch branches` inspection the whole project

  1. … 15 more files in changeset.
Apply `Merge identical catch branches` inspection the whole project

  1. … 15 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -1
    • +1
    ./DefaultScriptCompilationHandler.java
    • -2
    • +2
    ./FileCacheBackedScriptClassCompiler.java
  1. … 904 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -2
    • +3
    ./BuildOperationBackedScriptCompilationHandler.java
    • -2
    • +3
    ./BuildScopeInMemoryCachingScriptClassCompiler.java
    • -2
    • +5
    ./CrossBuildInMemoryCachingScriptClassCache.java
    • -5
    • +13
    ./DefaultScriptCompilationHandler.java
    • -1
    • +3
    ./FileCacheBackedScriptClassCompiler.java
  1. … 8 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./FileCacheBackedScriptClassCompiler.java
  1. … 34 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./FileCacheBackedScriptClassCompiler.java
  1. … 34 more files in changeset.
Remove ClassLoaderHasher

There is no need to separate this from HashingClassLoaderFactory.

    • -3
    • +3
    ./RegistryAwareClassLoaderHierarchyHasher.java
  1. … 6 more files in changeset.