BuildScriptTransformerSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -14
    • +15
    ./BuildScriptTransformerSpec.groovy
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -14
    • +15
    ./BuildScriptTransformerSpec.groovy
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -14
    • +15
    ./BuildScriptTransformerSpec.groovy
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -14
    • +15
    ./BuildScriptTransformerSpec.groovy
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -14
    • +15
    ./BuildScriptTransformerSpec.groovy
  1. … 10 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. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Fix previous commit.

  1. … 7 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.

  1. … 30 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.

  1. … 30 more files in changeset.
Use Deleter when removing the output for Groovy script compilation

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

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

  1. … 36 more files in changeset.
Revert "Revert "Let instant execution reuse classloaders when loading""

  1. … 36 more files in changeset.
Revert "Let instant execution reuse classloaders when loading"

  1. … 36 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>

  1. … 14 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>

  1. … 14 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>

  1. … 14 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>

  1. … 14 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>

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Artificially create a class loader scope for Groovy script classes

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

  1. … 14 more files in changeset.
Organize imports

  1. … 1 more file in changeset.