Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -2
    • +1
    ./tasks/GeneratePrecompiledScriptPluginAccessors.kt
  1. … 72 more files in changeset.
Make paths/names of included builds immutable

    • -2
    • +1
    ./tasks/GeneratePrecompiledScriptPluginAccessors.kt
  1. … 32 more files in changeset.
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.

    • -2
    • +2
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 21 more files in changeset.
Move model parameters declaration to :toolingApi

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

    • -2
    • +2
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 7 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
  1. … 1 more file in changeset.
Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

    • -10
    • +15
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

    • -1
    • +0
    ./tasks/GeneratePrecompiledScriptPluginAccessors.kt
  1. … 17 more files in changeset.
Remove core interfaces from precompiled Kotlin script template type hierarchy

Support for a common script API will come in a subsequent commit.

    • -3
    • +3
    ./DefaultPrecompiledScriptPluginsSupport.kt
    • -2
    • +2
    ./tasks/GenerateScriptPluginAdapters.kt
  1. … 8 more files in changeset.
Replace `Project` interface delegation by `Project` implicit receiver

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
  1. … 12 more files in changeset.
Replace `Project` interface delegation by `Project` implicit receiver

    • -2
    • +2
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
  1. … 12 more files in changeset.
wip: Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

    • -2
    • +1
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
  1. … 13 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Reuse precompiled script files collection

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

    • -8
    • +12
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 2 more files in changeset.
Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

    • -2
    • +1
    ./tasks/CompilePrecompiledScriptPluginPlugins.kt
  1. … 14 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 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
    ./DefaultPrecompiledScriptPluginsSupport.kt
  1. … 9 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

    • -2
    • +2
    ./tasks/GeneratePrecompiledScriptPluginAccessors.kt
  1. … 60 more files in changeset.
Allow package declarations in Kotlin DSL scripts

In order to make it possible to `apply(from = "...")` a script that

plays the dual role of local script and precompiled script plugin.

Multi-stage scripts are not supported, more specifically, a script

with a `plugins` block or `buildscript` block will throw `CNFE` at

runtime.

    • -1
    • +1
    ./tasks/ExtractPrecompiledScriptPluginPlugins.kt
  1. … 9 more files in changeset.
Allow package declarations in Kotlin DSL scripts

In order to make it possible to `apply(from = "...")` a script that

plays the dual role of local script and precompiled script plugin.

Multi-stage scripts are not supported, more specifically, a script

with a `plugins` block or `buildscript` block will throw `CNFE` at

runtime.

    • -1
    • +1
    ./tasks/ExtractPrecompiledScriptPluginPlugins.kt
  1. … 9 more files in changeset.