Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Polish `commonPrefixOf`

Compute max common index from max common prefix to avoid using intermediate

lists and favour expression body and immutable values over loops and mutability.

Polish `CommonListPrefixTest`

- Put complex arguments to `assertThat` on separate lines

Let KotlinDslScriptsModelBuilder preserve classpath order

in the case where the common classpath elements are spread

by only considering the common classpath prefix

instead of all common elements

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

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. … 16 more files in changeset.
Polish KotlinDslScriptsModelBuilder

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

Let KotlinDslScriptsModel cross version test classload on tapi < 6.0

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

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

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

  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>

  1. … 7 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. … 4 more files in changeset.
Fix groovydoc

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

Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
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>

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>

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. … 6 more files in changeset.
Move KotlinDslScriptsModelClient to test fixtures

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

  1. … 2 more files in changeset.
Optimize payload size of KotlinDslScriptsModel

by extracting common classpath, sourcepath and implicit imports

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

Fix KotlinDslScriptsModelCrossVersionSpec now that settings doesn't have buildSrc

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

Merge branch 'feature/JLL/depricate_http_download_dependencies' of https://github.com/JLLeitschuh/gradle

* 'feature/JLL/depricate_http_download_dependencies' of https://github.com/JLLeitschuh/gradle:

Fix failing tests from insecure HTTP deprecation changes

Fix failing tests from insecure HTTP deprecation changes

Fix DefaultFlatDirArtifactRepositoryTest

Refactor HTTP deprecation logic to use HttpRedirectVerifier

Add link to medium publication about industry wide MITM

Update `@since` for new API's to be since 6.0

Disable HTTP support for TextResources in redirects by default

Fix newly added API's to use `@since 5.7`

Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

  1. … 11 more files in changeset.
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. … 1 more file in changeset.
Translate all Kotlin DSL TAPI models from Kotlin to Java

as they will be consumed by Java only components like Buildship

this also removes the dependency on kotlin-stdlib

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

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

Fixes #9094 and #5333

  1. … 52 more files in changeset.