execution

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Distributed test

  1. … 131 more files in changeset.
Use shorten path

  1. … 17 more files in changeset.
Use shorten path

  1. … 17 more files in changeset.
Use shorten path

  1. … 17 more files in changeset.
Invalidate instant execution cache upon changes to Kotlin scripts

By making the Kotlin DSL interpreter emit `onScriptClassLoaded` events.

At this point we don't yet make a distinction between init scripts and other

types of scripts.

  1. … 10 more files in changeset.
Invalidate instant execution cache upon changes to Kotlin scripts

By making the Kotlin DSL interpreter emit `onScriptClassLoaded` events.

At this point we don't yet make a distinction between init scripts and other

types of scripts.

  1. … 10 more files in changeset.
Fix for previous commit.

  1. … 4 more files in changeset.
Fix for previous commit.

  1. … 4 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 25 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 25 more files in changeset.
Ensure `settings.gradle.kts` with `pluginManagement` block honors auto-applied plugins

Make `settings.gradle.kts` evaluation trigger auto-applied plugins

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

  1. … 72 more files in changeset.
Make paths/names of included builds immutable

  1. … 32 more files in changeset.
Polish `ResidualProgramCompilerTest`

- Remove spurious empty line

Polish `TestWithCompiler`

- Reuse `PluginManagementSpec` mock

Polish `ParserToCompilerTest`

Let `pluginManagement` Kotlin script template have an implicit `Settings` receiver

  1. … 3 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

    • -86
    • +161
    ./ResidualProgramCompilerTest.kt
  1. … 4 more files in changeset.
Minor formatting changes in kotlin sources

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

  1. … 3 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

    • -0
    • +137
    ./TopLevelBlockExtractionTest.kt
  1. … 14 more files in changeset.
wip: Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

  1. … 13 more files in changeset.
wip:

    • -35
    • +128
    ./ResidualProgramCompilerTest.kt
  1. … 5 more files in changeset.
Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

    • -35
    • +66
    ./ResidualProgramCompilerTest.kt
  1. … 14 more files in changeset.
Allow scripts with `pluginManagement` and additional logic to compile

  1. … 1 more file 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. … 7 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. … 7 more files in changeset.
Add additional tests to ParserToCompilerTest

  1. … 1 more file in changeset.
ResidualCompiler logic compiles correctly again

  1. … 4 more files in changeset.
Add support for pluginManagement execution in correct order for Kotlin & Groovy (WIP)

    • -0
    • +73
    ./ParserToCompilerTest.kt
    • -72
    • +165
    ./ResidualProgramCompilerTest.kt
    • -0
    • +111
    ./TestWithCompiler.kt
  1. … 15 more files in changeset.