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.

    • -74
    • +11
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
    • -1
    • +2
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 19 more files in changeset.
Polish KotlinDslScriptsModelBuilder

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

Move model parameters declaration to :toolingApi

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

    • -2
    • +1
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 6 more files in changeset.
Decouple KotlinDslScriptsModel from KotlinBuildScriptModel

and put it into :toolingApi with the other public models

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

    • -11
    • +75
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
  1. … 9 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
    • +4
    ./tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
  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
    • +4
    ./tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
  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
    • +4
    ./tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
  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
    • +4
    ./tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
  1. … 5 more files in changeset.
Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
Naive implementation of precompiled scripts collection

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

Naive implementation of precompiled scripts collection

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

Naive implementation of precompiled scripts collection

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

Naive implementation of precompiled scripts collection

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

Let KotlinDslScriptsModelBuilder infer set of scripts when none given

Only settings and project scripts for now

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

    • -1
    • +29
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
  1. … 1 more file in changeset.
Let KotlinDslScriptsModelBuilder infer set of scripts when none given

Only settings and project scripts for now

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

    • -1
    • +29
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
  1. … 1 more file in changeset.
Let KotlinDslScriptsModelBuilder infer set of scripts when none given

Only settings and project scripts for now

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

    • -1
    • +29
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
  1. … 1 more file in changeset.
Let KotlinDslScriptsModelBuilder infer set of scripts when none given

Only settings and project scripts for now

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

    • -1
    • +29
    ./tooling/builders/KotlinDslScriptsModelBuilder.kt
  1. … 1 more file 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 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
    ./tooling/builders/KotlinScriptingModelBuildersRegistrationAction.kt
  1. … 7 more files in changeset.
Move KotlinDslScriptsModelClient to test fixtures

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

  1. … 4 more files in changeset.
Move KotlinDslScriptsModelClient to test fixtures

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

  1. … 4 more files in changeset.
Move KotlinDslScriptsModelClient to test fixtures

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

  1. … 4 more files in changeset.