DefaultPrecompiledScriptPluginsSupport.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Merge pull request #10954 from gradle/eskatos/kotlin-dsl/new-tapi-model-in-tooling-api-jar"

This reverts commit 00cdf938c0d9df3786760adeecf9c2e7d45bff78, reversing

changes made to 28d5b62f4ac9b3b57b57c5b625869516198ed836.

    • -2
    • +2
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 21 more files in changeset.
Move model parameters declaration to :toolingApi

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

    • -2
    • +2
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 7 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

    • -10
    • +15
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Remove core interfaces from precompiled Kotlin script template type hierarchy

Support for a common script API will come in a subsequent commit.

    • -3
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

    • -2
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Add implicit import for plugin spec builders package to the model

    • -3
    • +6
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 4 more files in changeset.
Isolate plugin spec builders using classpath hash

So plugin spec group classes from multiple plugin modules won't

conflict.

    • -9
    • +13
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 5 more files in changeset.
Isolate plugin spec builders using classpath hash

So plugin spec group classes from multiple plugin modules won't

conflict.

    • -9
    • +13
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 5 more files in changeset.
Polish `DefaultPrecompiledScriptPluginsSupport`

    • -4
    • +11
    ./DefaultPrecompiledScriptPluginsSupport.kt
Polish `DefaultPrecompiledScriptPluginsSupport`

    • -4
    • +11
    ./DefaultPrecompiledScriptPluginsSupport.kt
Polish `DefaultPrecompiledScriptPluginsSupport`

    • -4
    • +11
    ./DefaultPrecompiledScriptPluginsSupport.kt
Reduce fixed cost of `kotlin-dsl` plugin for projects without PSPs

Avoid

- accessing the `compileKotlin` task

- accessing the main sourceset

- adding dependencies to `kotlinCompilerPluginClasspath`

    • -13
    • +23
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reduce fixed cost of `kotlin-dsl` plugin for projects without PSPs

Avoid

- accessing the `compileKotlin` task

- accessing the main sourceset

- adding dependencies to `kotlinCompilerPluginClasspath`

    • -13
    • +23
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reduce fixed cost of `kotlin-dsl` plugin for projects without PSPs

Avoid

- accessing the `compileKotlin` task

- accessing the main sourceset

- adding dependencies to `kotlinCompilerPluginClasspath`

    • -13
    • +23
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Introduce `HashedClassPath` combining a `ClassPath` and its `HashCode`

So they can be shared across multiple tasks in order to avoid some

work when emitting type-safe accessors for precompiled script plugins.

    • -4
    • +36
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 1 more file in changeset.
Introduce `HashedClassPath` combining a `ClassPath` and its `HashCode`

So they can be shared across multiple tasks in order to avoid some

work when emitting type-safe accessors for precompiled script plugins.

    • -4
    • +36
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 1 more file in changeset.
Introduce `HashedClassPath` combining a `ClassPath` and its `HashCode`

So they can be shared across multiple tasks in order to avoid some

work when emitting type-safe accessors for precompiled script plugins.

    • -4
    • +36
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 1 more file in changeset.
Introduce `HashedClassPath` combining a `ClassPath` and its `HashCode`

So they can be shared across multiple tasks in order to avoid some

work when emitting type-safe accessors for precompiled script plugins.

    • -4
    • +36
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 1 more file in changeset.
Limit dir count in build/ on projects with precompiled script plugins

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

    • -1
    • +1
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 1 more file in changeset.
Simplify :configurePrecompiledScriptDependenciesResolver dependencies

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

    • -4
    • +1
    ./DefaultPrecompiledScriptPluginsSupport.kt