ScriptPlugin.kt

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

  1. … 521 more files in changeset.
Normalise line separators of strings given to the Kotlin lexer

Fixes #858

  1. … 2 more files in changeset.
Add link to precompiled script plugin from `Plugin<*>` adapter

  1. … 2 more files in changeset.
Make `scriptFile` private

Reuse `KotlinScriptType` in `ScriptPlugin`

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

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

Dedupe file extension based logic.

Protect `implementationClass` against invalid identifier characters

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

    • -0
    • +122
    ./ScriptPlugin.kt
  1. … 4 more files in changeset.