PrecompiledScriptPluginTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

    • -374
    • +0
    ./PrecompiledScriptPluginTest.kt
  1. … 521 more files in changeset.
Reuse `joinLines` extension

  1. … 3 more files in changeset.
Polish `PrecompiledScriptPluginTest`

Propagate exception thrown by precompiled script plugin unwrapped

  1. … 1 more file in changeset.
Preserve package declaration in script plugin adapter

  1. … 3 more files in changeset.
Add support for precompiled `Gradle` plugins

  1. … 1 more file in changeset.
Add support for precompiled `Settings` plugins

  1. … 2 more files in changeset.
Mark offending test with @LeaksFileHandles

Make precompiled script plugins publishable via `maven-publish`

By populating `gradlePlugin.plugins` eagerly.

  1. … 2 more files in changeset.
Expose precompiled scripts as Gradle plugins

The Gradle plugin id is derived from the script file name and its

package declaration if any.

The implementation is currently limited to scripts under

`src/main/kotlin`. Future commits will lift this restriction.

See #669

  1. … 4 more files in changeset.
Expose implicit imports to precompiled scripts

By encoding the list of implicit imports directly in the compiler arguments.

Additionally:

- Extract the `PrecompiledScriptPlugins` plugin from the `kotlin-dsl`

plugin so it can be applied independently of `kotlin-dsl` until all

cacheability issues have been sorted out.

- Remove implicit imports handling from

`KotlinBuildScriptDependenciesResolver` as it's now handled by

`PrecompiledScriptDependenciesResolver`.

    • -0
    • +144
    ./PrecompiledScriptPluginTest.kt
  1. … 5 more files in changeset.