Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Source sets and project dependencies in buildSrc source roots

A BuildSrcProjectConfiguration action creates a task that generates a

text file containing the source roots for the root buildSrc project and

all its runtime project dependencies.

This allows for correct buildSrc source roots resolution when editing

kotlin settings or build scripts in the presence of a multi-project

buildSrc build.

  1. … 6 more files in changeset.
lint: missing new line before ")"

  1. … 41 more files in changeset.
lint: horizontal whitespace

  1. … 14 more files in changeset.
lint: apply blank lines rule

  1. … 66 more files in changeset.
Treat `*.settings.gradle.kts` as `Settings` script plugins

Fixes #735

Follow-up work in #180

  1. … 2 more files in changeset.
Make `buildSrc` dependencies available to script plugins in the IDE

Resolves #728

  1. … 1 more file in changeset.
Serve the correct editor classpath for init scripts

Init scripts only see the core Gradle Kotlin DSL classpath (Gradle API + Kotlin

DSL API) and whatever is contributed to the `initscript` classpath

dependencies.

See #663

  1. … 5 more files in changeset.
Introduce exceptions in KotlinBuildScriptModel

from the ones collected when running in classpath mode

  1. … 1 more file in changeset.
Polish KotlinBuildScriptModelBuilder

Move from jre7/8 to jdk7/8

Signed-off-by: StefMa <stefmadev@outlook.com>

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

Polish `SourceDistributionProvider`

  1. … 1 more file in changeset.
Replace use of `DefaultModuleComponentIdentifier` by `#forModule`

Avoid resolving Kotlin lib sources more than once

Remove usage of `DefaultIdeDependencyResolver`

Use `project.run` to avoid repeating `project.`

Rename `SourceDistributionResolver` to `SourceDistributionProvider`

  1. … 4 more files in changeset.
Lazily download Gradle sources when they aren't available

This commit implements lazy download of Gradle sources when they are not available. Previously,

the Kotlin DSL expected the `all` distribution to be used to provide proper IDE support. If this

distribution wasn't used (typically with the wrapper), then navigating to sources wasn't possible.

With this commit, if the sources are not available, Gradle will do its best to download the zip

of sources and make it available.

It does so by creating a temporary configuration that is used to reference the Gradle sources,

which are then exploded through a dependency transform, so that the IDE can use them.

  1. … 4 more files in changeset.
Restore source navigation for Gradle sources

Has been broken since #561

Coverage included

  1. … 3 more files in changeset.
Merge pull request #561 from gradle/eskatos/settings/model-builder

KotlinBuildScriptModelBuilder supports settings.gradle.kts

  1. … 2 more files in changeset.
Polish `KotlinBuildScriptModel`

- Break long line

- Simplify complex comparison using null-safe navigation

- Declare type parameter variance

Polish `KotlinBuildScriptModelBuilder`

- Dedupe empty AccessorClassPath value

  1. … 1 more file in changeset.
Expose `kotlin-stdlib-jre8` to build scripts

See #558

  1. … 9 more files in changeset.
Rework KotlinBuildScriptModelBuilder for readability

and remove duplications

  1. … 1 more file in changeset.
First cut of tapi model builders supporting settings.gradle.kts

  1. … 3 more files in changeset.
Enable jsr305 annotations

  1. … 4 more files in changeset.
Resolve sources of dependencies in the buildscript classpath

See #399

  1. … 1 more file in changeset.
Polish `KotlinLibSources`

Rename base package to org.gradle.kotlin.dsl

  1. … 306 more files in changeset.
Introduce gradleKotlinDsl(), deprecate gradleScriptKotlinApi()

  1. … 4 more files in changeset.