Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

    • -0
    • +85
    ./dsl/plugins/precompiled/GeneratePluginSpecBuilders.kt
  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
    ./dsl/plugins/base/KotlinDslBasePlugin.kt
    • -134
    • +0
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
    • -48
    • +0
    ./dsl/plugins/dsl/KotlinDslPlugin.kt
    • -54
    • +0
    ./dsl/plugins/dsl/KotlinDslPluginOptions.kt
    • -176
    • +0
    ./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>

    • -2
    • +5
    ./dsl/plugins/precompiled/ScriptPlugin.kt
  1. … 1 more file in changeset.
Simplify `GenerateScriptPluginAdapters` inputs computation

    • -1
    • +1
    ./dsl/plugins/precompiled/ScriptPlugin.kt
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>

    • -0
    • +2
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
Let GenerateScriptPluginAdapters task be cacheable

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

    • -0
    • +104
    ./dsl/plugins/precompiled/GenerateScriptPluginAdapters.kt
  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>

    • -9
    • +5
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
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>

    • -3
    • +3
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
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>

    • -8
    • +3
    ./dsl/plugins/base/KotlinDslBasePlugin.kt
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
    ./dsl/plugins/base/KotlinDslBasePlugin.kt
    • -37
    • +14
    ./dsl/plugins/dsl/KotlinDslPlugin.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>

    • -4
    • +2
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
  1. … 4 more files in changeset.
Let `kotlin-dsl` plugin apply the `precompiled-script-plugins` plugin

  1. … 6 more files in changeset.
Fix experimental warning explainer link

as a follow up to #1012

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

    • -1
    • +1
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
  1. … 1 more file in changeset.
Revisit `kotlin-dsl` experimental kotlin compiler settings warning

- remove option to turn off sam-conversion-for-kotlin-functions

- simplify warning message, linking to the user manual

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

    • -45
    • +38
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
    • -48
    • +3
    ./dsl/plugins/dsl/KotlinDslPluginOptions.kt
  1. … 1 more file in changeset.
Let the `kotlin-dsl` plugin set -Xjsr305=strict

Just like the rest of the Gradle Kotlin DSL

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

    • -1
    • +4
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
Remove -Xuse-old-class-files-reading from accessors and scripts compilation

and from IDE script templates

and from kotlin-dsl plugin

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

    • -1
    • +1
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
  1. … 4 more files in changeset.
Enable kotlinc -Xuse-old-class-files-reading across the board

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

    • -1
    • +1
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
  1. … 5 more files in changeset.
Enable kotlinc -java-parameters across the board

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

    • -1
    • +4
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
  1. … 5 more files in changeset.
Move gradleKotlinDslJars() to support

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

  1. … 2 more files in changeset.
kotlin-dsl plugin takes control of jvmTarget

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

    • -3
    • +1
    ./dsl/plugins/dsl/KotlinDslCompilerPlugins.kt
    • -0
    • +11
    ./dsl/plugins/dsl/KotlinDslPluginOptions.kt