Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Log time taken to build the model

Remove unused variable

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Introduce resolver request correlation id

And make it possible to correlate events from the Kotlin DSL resolver

log with the daemon log.

  1. … 4 more files in changeset.
Replace exceptions by strings in TAPI model

In order to avoid serialization issues observed on Java 11.

Resolves #1308

  1. … 4 more files in changeset.
Polish `KotlinBuildScriptModelBuilder`

Emit type-safe accessors for plugins in the compile classpath

  1. … 17 more files in changeset.
Move kotlin-dsl in a sub directory

    • -1
    • +0
    ./resources/META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
    • -1
    • +0
    ./resources/META-INF/services/org.gradle.initialization.buildsrc.BuildSrcProjectConfigurationAction
  1. … 1572 more files in changeset.
Refine BuildSrcClassPathModeConfigurationAction

used for IDE script resolution mode

prefer lazy task configuration apis

reproducible GenerateSourceRootsFile

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

Serve the right classpath for scripts in nested projects

By doing a 2nd tooling API query against a potential nested project

whenever the given script cannot be determined to belong to the

imported project.

  1. … 6 more files in changeset.
Polish `EditorReportsBuilder`

- Keep function signatures under 120 columns

- Compose method

Rename function for clarity

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

Let all 'verification' tasks be disabled when resolving script dependencies for the IDE

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

Lazily disable buildSrc Test tasks

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

Let IDE resolver not run buildSrc tests

for both leniency and better responsiveness

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

    • -1
    • +1
    ./resources/META-INF/services/org.gradle.initialization.buildsrc.BuildSrcProjectConfigurationAction
  1. … 2 more files in changeset.
Introduce type-safe accessors for plugin ids

Starting with this commit, the Kotlin DSL will generate type-safe

accessors for all plugin ids found in the `buildSrc` classpath.

So instead of writing:

```kotlin

plugins {

id("gradlebuild.strict-compile")

id("gradlebuild.classcycle")

}

```

One can write:

```kotlin

plugins {

gradlebuild.`strict-compile`

gradlebuild.classcycle

}

```

All while enjoying content assist and source code navigation all the

way down to the plugin implementation class.

  1. … 17 more files in changeset.
Favor warning reports instead of errors

keep errors and fatalities to TAPI failures

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

  1. … 2 more files in changeset.
Put location aware hints editors behind an internal gradle property

and refine the 'runtime failure from current script' use case when

they are disabled, the default

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

  1. … 4 more files in changeset.
Let valid line range calculation be leaner

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

Fix reports on last line without new line before eof

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

  1. … 1 more file in changeset.
Refine EditorReportsBuilder

by extracting explaining functions

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

  1. … 1 more file in changeset.
Simplify detection of errors not coming from the current script

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

Move editor messages out of tooling-models

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

  1. … 5 more files in changeset.
Better message on location aware ide reports when cause has no message

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

  1. … 2 more files in changeset.
Report file error on runtime failure in current script on out of range line number

See https://youtrack.jetbrains.com/issue/KT-9766

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

  1. … 2 more files in changeset.
Report line error on runtime failure in currently edited script

if location aware

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

  1. … 3 more files in changeset.
Do not report failures from currently edited script to the editor

because the IDE already provides user feedback for those.

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

  1. … 1 more file in changeset.
Let the editor warning suggest running 'gradle tasks'

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

  1. … 1 more file in changeset.
Move warning calculation to the tooling model builder

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

  1. … 4 more files in changeset.
Migrate to the official coroutines API

  1. … 4 more files in changeset.
Fix usages of now deprecated Gradle API

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

  1. … 1 more file in changeset.