gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge type-safe accessors for precompiled script plugins wip

  1. … 34 more files in changeset.
Move precompiled script plugin tasks into `tasks` subpackage

  1. … 1 more file in changeset.
Wire precompiled script plugin tasks

Add missing `@PathSensitive` annotation

Reintroduce deletion of stale precompiled script plugin adapters

WIP: Let precompiled script plugins use plugin spec builders

Let GenerateScriptPluginAdapters clean stale outputs

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

  1. … 1 more file in changeset.
Annotate protected task properties as `@Internal`

Add `GeneratePrecompiledScriptPluginAccessors` task skeleton

  1. … 9 more files in changeset.
Emit plugin spec builders to module with unique name

Derived from the compile classpath to avoid conflicts across plugins.

Emit type-safe accessors for plugins in the compile classpath

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

Group task operations into a `tasks` block in preparation to

introducing new tasks.

Document `PrecompiledScriptPlugins`

Including how to control the target and id of a precompiled script plugin.

Move kotlin-dsl in a sub directory

    • -61
    • +0
    ./kotlin/dsl/plugins/base/KotlinDslBasePlugin.kt
    • -54
    • +0
    ./kotlin/dsl/plugins/dsl/KotlinDslPluginOptions.kt
    • -176
    • +0
    ./kotlin/dsl/plugins/precompiled/ScriptPlugin.kt
  1. … 1572 more files in changeset.
Protect against invalid first character in script plugin adapter name

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

  1. … 1 more file in changeset.
Simplify `GenerateScriptPluginAdapters` inputs computation

Fix GenerateScriptPluginAdapters cacheability

by fixing overlapping inputs/outputs

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

  1. … 1 more file in changeset.
Fix GenerateScriptPluginAdapters task input/output annotations

And let :*:validateTaskProperties fail the build on warnings

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

  1. … 2 more files in changeset.
`kotlin-dsl` plugin sets Kotlin apiVersion and languageVersion to 1.3

to match script compilation

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

Let GenerateScriptPluginAdapters task be cacheable

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

  1. … 2 more files in changeset.
Plugin classes don't need to be open

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

  1. … 5 more files in changeset.
`embedded-kotlin` plugin does not pin dependencies anymore

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

  1. … 2 more files in changeset.
Refine KotlinDslCompilerPlugins

to preallocate two smaller strings ahead and build the whole message

when it's actually needed

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

Precompute message in order not to leak Project instance

The KotlinCompile task logger goes through RMI to the Kotlin Compiler

daemon. Holding a Project instance per task exacerbated a memory leak

in the Kotlin compiler infrastructure.

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

Polish PrecompiledScriptPlugins

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

Dedupe kotlin artifact configuration names

from EmbeddedKotlinPlugin and KotlinDslBasePlugin

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

Let kotlin-dsl plugin apply precompiled scripts plugin

and java-gradle-plugin

to enable support for precompiled script plugins out of the box

existing functionality moved up to a kotlin-dsl.base plugin

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

    • -0
    • +66
    ./kotlin/dsl/plugins/base/KotlinDslBasePlugin.kt
  1. … 1 more file in changeset.
Introduce the `kotlin-dsl-precompiled-script-plugins` plugin spec

And revert `PrecompiledScriptPlugins` being applied automatically by

the `kotlin-dsl` plugin.

  1. … 6 more files in changeset.
Let the embedded-kotlin plugin add stdlib & reflect to testImplementation

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

  1. … 1 more file in changeset.
Set -Xprogressive for own libs compilation only

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

  1. … 4 more files in changeset.