precompiled

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

  1. … 520 more files in changeset.
Simplify splitting :provider into :provider-plugins

by letting :provider-plugins depend directly on :provider

and removing :provider-spi

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

  1. … 38 more files in changeset.
Deduplicate project.serviceOf<T>()

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

  1. … 11 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. … 1 more file in changeset.
Polish `PrecompiledScriptPlugins`

Remove unnecessary laziness of `ScriptPlugin` list

Introduce `integ-tests` project

And make generated code follow the kotlin-dsl coding conventions.

  1. … 7 more files in changeset.
Polish `PrecompiledScriptPlugin`

- Inline unnecessary variable

Propagate exception thrown by precompiled script plugin unwrapped

  1. … 1 more file in changeset.
Make `scriptFile` private

Reuse `KotlinScriptType` in `ScriptPlugin`

  1. … 2 more files in changeset.
Polish `PrecompiledScriptPlugins`

Query file only once.

Preserve package declaration in script plugin adapter

  1. … 2 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. … 1 more file in changeset.
Make precompiled script plugins publishable via `maven-publish`

By populating `gradlePlugin.plugins` eagerly.

  1. … 2 more files in changeset.
Produce `List<ScriptPlugin>` lazyly

Only exposes script plugins from `pluginSourceSet`

Fix typo

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

    • -30
    • +151
    ./PrecompiledScriptPlugins.kt
    • -0
    • +122
    ./ScriptPlugin.kt
  1. … 3 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
    • +78
    ./PrecompiledScriptPlugins.kt
  1. … 5 more files in changeset.