Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prove both Kotlin DSL IDE model builders return the same content

The single script request for Kotlin Scripting API

The multi scripts request for IntelliJ import & lifecycle

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

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. … 19 more files in changeset.
Let KotlinDslScriptsModel cross version test classload on tapi < 6.0

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

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

  1. … 8 more files in changeset.
change test fixture to not rely on >5.0 tapi api for cross-version tests

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

Add more coverage

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

Refine KotlinDslScriptsModelCrossVersionSpec

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

Fix Kotlin DSL provider modes for backwards compatibility

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

  1. … 4 more files in changeset.
Coverage for optimized multi-script model payloads

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

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.
Fix groovydoc

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

Add crude coverage for kotlin dsl scripts collection

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

Temporarily enable leniency by default, for precompiled scripts support

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. … 1 more file in changeset.
Fix PrecompiledScriptPluginModelCrossVersionSpec

It was missing the repo declaration already required with the

`kotlin-dsl` plugin.

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

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 KotlinDslScriptsModelClient to test fixtures

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

  1. … 3 more files in changeset.
Fix KotlinDslScriptsModelCrossVersionSpec now that settings doesn't have buildSrc

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

Fix KotlinDslScriptsModelBuilder on Windows

by using | as a path separator in project property

by escaping paths in tested script strings

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

  1. … 2 more files in changeset.
Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

  1. … 53 more files in changeset.
First cut

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

  1. … 6 more files in changeset.
Adjust tests to avoid unnecessary additional test dependencies

  1. … 5 more files in changeset.
Add implicit import for plugin spec builders package to the model

  1. … 4 more files in changeset.
Refine Kotlin DSL TAPI cross-version tests

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

Simplify fixtures and remove dead fixture code

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

  1. … 1 more file in changeset.
Move Kotlin DSL TAPI model tests for precompiled scripts as cross-version tests

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

  1. … 2 more files in changeset.
Move Kotlin DSL TAPI model tests for accessors as cross-version tests

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

  1. … 2 more files in changeset.
@TargetGradleVersion(">=5.4")

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

Move Kotlin DSL TAPI model tests for build scripts as cross-version tests

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

  1. … 3 more files in changeset.
Fix test

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