Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix Kotlin DSL code generation fixture

The configuration creation block was causing an ambiguous

method selection error.

    • -0
    • +1
    ./kotlin/dsl/ScriptHandlerScopeTest.kt
  1. … 4 more files in changeset.
Fix Kotlin DSL code generation fixture

The configuration creation block was causing an ambiguous

method selection error.

    • -0
    • +1
    ./kotlin/dsl/ScriptHandlerScopeTest.kt
  1. … 4 more files in changeset.
Fix Kotlin DSL constraints block

This commit introduces a workaround for the Kotlin DSL

which doesn't delegate the constraints block to the right

delegate type. The consequence is that constraints were

mixed with dependencies when using extension methods defined

on the `DependencyConstraintHandlerScope`, because the compiler

didn't realize that the receiver type was indeed this scope.

    • -8
    • +5
    ./kotlin/dsl/DependencyHandlerExtensionsTest.kt
    • -6
    • +3
    ./kotlin/dsl/ScriptHandlerScopeTest.kt
  1. … 5 more files in changeset.
Fix Kotlin DSL constraints block

This commit introduces a workaround for the Kotlin DSL

which doesn't delegate the constraints block to the right

delegate type. The consequence is that constraints were

mixed with dependencies when using extension methods defined

on the `DependencyConstraintHandlerScope`, because the compiler

didn't realize that the receiver type was indeed this scope.

    • -8
    • +5
    ./kotlin/dsl/DependencyHandlerExtensionsTest.kt
    • -6
    • +3
    ./kotlin/dsl/ScriptHandlerScopeTest.kt
  1. … 5 more files in changeset.
Fix Kotlin DSL constraints block

This commit introduces a workaround for the Kotlin DSL

which doesn't delegate the constraints block to the right

delegate type. The consequence is that constraints were

mixed with dependencies when using extension methods defined

on the `DependencyConstraintHandlerScope`, because the compiler

didn't realize that the receiver type was indeed this scope.

    • -8
    • +5
    ./kotlin/dsl/DependencyHandlerExtensionsTest.kt
    • -6
    • +3
    ./kotlin/dsl/ScriptHandlerScopeTest.kt
  1. … 5 more files in changeset.
Fix Kotlin DSL constraints block

This commit introduces a workaround for the Kotlin DSL

which doesn't delegate the constraints block to the right

delegate type. The consequence is that constraints were

mixed with dependencies when using extension methods defined

on the `DependencyConstraintHandlerScope`, because the compiler

didn't realize that the receiver type was indeed this scope.

    • -4
    • +4
    ./kotlin/dsl/DependencyHandlerExtensionsTest.kt
  1. … 4 more files in changeset.
Fix GradleApiExtensionsTest

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

Fix GradleApiExtensionsTest

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

Fix GradleApiExtensionsTest

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

Adjust KotlinScriptCompilerTest to work with Kotlin 1.3.70

By moving the script template class to the top level.

Adjust `KotlinScriptCompilerTest` to work with the latest Kotlin 1.3.70 eap

By moving the script template class to the top level.

Adjust `KotlinScriptCompilerTest` to work with the latest Kotlin 1.3.70 eap

By moving the script template class to the top level.

Adjust KotlinScriptCompilerTest to work with Kotlin 1.3.70

By moving the script template class to the top level.

Adjust `KotlinScriptCompilerTest` to work with the latest Kotlin 1.3.70 eap

By moving the script template class to the top level.

Adjust `KotlinScriptCompilerTest` to work with the latest Kotlin 1.3.70 eap

By moving the script template class to the top level.

Upgrade embedded kotlin to 1.3.70-eap-42

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

  1. … 3 more files in changeset.
Upgrade embedded kotlin to 1.3.70-eap-42

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

  1. … 4 more files in changeset.
Upgrade embedded kotlin to 1.3.70-eap-42

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

  1. … 4 more files in changeset.
Upgrade embedded kotlin to 1.3.70-eap-42

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

  1. … 4 more files in changeset.
Upgrade embedded kotlin to 1.3.70-eap-42

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

  1. … 4 more files in changeset.
Catch up with master

  1. … 415 more files in changeset.
Add offending file name to exception caused by empty jar in the classpath

  1. … 1 more file in changeset.
Prove the new script templates are not missing any members

- prove new init script template is not missing any members from the legacy

`InitScriptApi`

- prove new setting script template is not missing any members from the legacy

`SettingsScriptApi`

    • -6
    • +40
    ./kotlin/dsl/provider/ScriptApiTest.kt
Upgrade Kotlin to 1.3.60

  1. … 7 more files in changeset.
Upgrade Kotlin to 1.3.60

  1. … 7 more files in changeset.
Upgrade Kotlin to 1.3.60

  1. … 7 more files in changeset.
Upgrade Kotlin to 1.3.60

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

    • -4
    • +5
    ./kotlin/dsl/execution/InterpreterTest.kt
  1. … 4 more files in changeset.
Fix for previous commit.

    • -4
    • +5
    ./kotlin/dsl/execution/InterpreterTest.kt
  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.

    • -4
    • +5
    ./kotlin/dsl/execution/InterpreterTest.kt
  1. … 25 more files in changeset.