KotlinDslProviderMode.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.

  1. … 21 more files in changeset.
Move model parameters declaration to :toolingApi

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

  1. … 7 more files in changeset.
Fix Kotlin DSL provider modes for backwards compatibility

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

  1. … 4 more files in changeset.
Fix Kotlin DSL provider modes for backwards compatibility

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

  1. … 4 more files in changeset.
Fix Kotlin DSL provider modes for backwards compatibility

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

  1. … 4 more files in changeset.
Fix Kotlin DSL provider modes for backwards compatibility

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

  1. … 4 more files in changeset.
Distinguish Kotlin DSL provider classpath and lenient modes

Classpath mode is required for Kotlin DSL scripts TAPI models

Lenient mode is not

Lenient mode is useful when an editor queries a script

Lenient mode shouldn't be used when querying for all build scripts at

IDE import time

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

  1. … 5 more files in changeset.
Distinguish Kotlin DSL provider classpath and lenient modes

Classpath mode is required for Kotlin DSL scripts TAPI models

Lenient mode is not

Lenient mode is useful when an editor queries a script

Lenient mode shouldn't be used when querying for all build scripts at

IDE import time

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

  1. … 5 more files in changeset.
Distinguish Kotlin DSL provider classpath and lenient modes

Classpath mode is required for Kotlin DSL scripts TAPI models

Lenient mode is not

Lenient mode is useful when an editor queries a script

Lenient mode shouldn't be used when querying for all build scripts at

IDE import time

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

  1. … 5 more files in changeset.
Distinguish Kotlin DSL provider classpath and lenient modes

Classpath mode is required for Kotlin DSL scripts TAPI models

Lenient mode is not

Lenient mode is useful when an editor queries a script

Lenient mode shouldn't be used when querying for all build scripts at

IDE import time

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

  1. … 5 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>

  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>

  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>

  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>

  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>

  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>

  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>

  1. … 9 more files in changeset.
Introduce `prepareKotlinBuildScriptModel` task

To replace `projects` as the trigger for precompiled script plugin

type-safe accessor code generation tasks.

  1. … 3 more files in changeset.
Include implicit imports for precompiled script plugin accessors

In model response.

Unfortunately the test must continue to be `@Ignore`d because the

tests don't execute against the latest version of the model builder.

  1. … 7 more files in changeset.
Import :kotlin-dsl and :kotlin-dsl-test-fixtures

Both in one go because of their circular dependency

Tests are failing because of the lack of :customInstallation

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

    • -0
    • +27
    ./KotlinDslProviderMode.kt
  1. … 536 more files in changeset.