PrecompiledScriptPluginAccessorsTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

    • -2
    • +2
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 28 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -8
    • +6
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 162 more files in changeset.
Fail the build with helpful message when precompiled script plugin request includes version

    • -0
    • +24
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Isolate plugin spec builders using classpath hash

So plugin spec group classes from multiple plugin modules won't

conflict.

    • -2
    • +0
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 5 more files in changeset.
Test plugin spec builders for plugins from multiple sources but same group

    • -4
    • +25
    ./PrecompiledScriptPluginAccessorsTest.kt
Inspect only `*.properties` entries under `META-INF/gradle-plugins/`

Resolves gradle/kotlin-dsl#1363

    • -1
    • +31
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Inspect only `*.properties` entries under `META-INF/gradle-plugins/`

Resolves gradle/kotlin-dsl#1363

    • -1
    • +31
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -2
    • +2
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 26 more files in changeset.
Support type-safe accessors for plugins with matching file names

But different packages by reconstructing the package directory

structure when extracting the plugins blocks.

    • -28
    • +90
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Support type-safe accessors for plugins with a package declaration

    • -0
    • +21
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Remove debug log from test

    • -9
    • +0
    ./PrecompiledScriptPluginAccessorsTest.kt
Add diagnostic logs to test

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

    • -0
    • +11
    ./PrecompiledScriptPluginAccessorsTest.kt
Handle application of sibling precompiled script plugins

By reducing the precompiled script plugins graph to only contain

external plugin references.

    • -0
    • +44
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 3 more files in changeset.
Add `runtimeClasspath` to the synthetic project script classpath

So required `runtimeOnly` dependencies are also available at plugin

application time.

    • -0
    • +22
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 2 more files in changeset.
Don't fail the build because type-safe accessors cannot be generated

    • -6
    • +5
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Make generated type-safe accessors `internal`

    • -3
    • +11
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 3 more files in changeset.
Assert generated accessors are internal

Work-in-progress.

    • -2
    • +59
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 1 more file in changeset.
Annotate `PrecompiledScriptPluginAccessorsTest` with `@LeaksFileHandles`

    • -1
    • +1
    ./PrecompiledScriptPluginAccessorsTest.kt
Emit type-safe accessors for precompiled script plugins

    • -2
    • +0
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 8 more files in changeset.
Compute `PluginRequests` implied by precompiled script plugin

    • -21
    • +62
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 3 more files in changeset.
Make offending precompiled script plugin test with `LeaksFileHandles`

    • -0
    • +3
    ./PrecompiledScriptPluginAccessorsTest.kt
Merge type-safe accessors for precompiled script plugins wip

    • -0
    • +290
    ./PrecompiledScriptPluginAccessorsTest.kt
  1. … 40 more files in changeset.