internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes.

    • -3
    • +1
    ./FileCacheBackedScriptClassCompilerTest.groovy
Fixes.

    • -3
    • +1
    ./FileCacheBackedScriptClassCompilerTest.groovy
Fixes.

    • -3
    • +1
    ./FileCacheBackedScriptClassCompilerTest.groovy
Remove some unused methods and fields.

    • -3
    • +1
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 5 more files in changeset.
Remove some unused methods and fields.

    • -3
    • +1
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 5 more files in changeset.
Move `ScriptExecutionListener` to `o.g.internal.scripts`

In preparation to make it also about Kotlin DSL scripts.

    • -3
    • +3
    ./DefaultScriptRunnerFactoryTest.groovy
  1. … 9 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./DefaultScriptCompilationHandlerTest.groovy
  1. … 406 more files in changeset.
Fix tests

    • -1
    • +1
    ./DefaultScriptCompilationHandlerTest.groovy
  1. … 371 more files in changeset.
Fix previous commit.

    • -16
    • +11
    ./DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 5 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

    • -16
    • +11
    ./DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 28 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

    • -16
    • +11
    ./DefaultScriptCompilationHandlerTest.groovy
    • -6
    • +4
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 28 more files in changeset.
Polish test

    • -23
    • +23
    ./DefaultScriptCompilationHandlerTest.groovy
Polish test

    • -23
    • +23
    ./DefaultScriptCompilationHandlerTest.groovy
Use Deleter when removing the output for Groovy script compilation

    • -6
    • +11
    ./BuildScriptTransformerSpec.groovy
    • -1
    • +6
    ./DefaultScriptCompilationHandlerTest.groovy
  1. … 2 more files in changeset.
Use Deleter when removing the output for Groovy script compilation

    • -6
    • +11
    ./BuildScriptTransformerSpec.groovy
    • -1
    • +6
    ./DefaultScriptCompilationHandlerTest.groovy
  1. … 2 more files in changeset.
Revert "Reinstate "Let instant execution reuse classloaders when loading""

    • -14
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -8
    • +4
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 34 more files in changeset.
Revert "Revert "Let instant execution reuse classloaders when loading""

    • -10
    • +14
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +8
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 34 more files in changeset.
Revert "Let instant execution reuse classloaders when loading"

    • -14
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -8
    • +4
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 34 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>

    • -10
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 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>

    • -10
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 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>

    • -10
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 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>

    • -10
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 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>

    • -10
    • +10
    ./DefaultScriptCompilationHandlerTest.groovy
    • -5
    • +7
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

    • -8
    • +12
    ./DefaultScriptCompilationHandlerTest.groovy
    • -4
    • +6
    ./FileCacheBackedScriptClassCompilerTest.groovy
  1. … 12 more files in changeset.