Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -5
    • +3
    ./kotlin/dsl/PluginDependenciesSpecScopeTest.kt
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -5
    • +3
    ./kotlin/dsl/PluginDependenciesSpecScopeTest.kt
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -5
    • +3
    ./kotlin/dsl/PluginDependenciesSpecScopeTest.kt
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -5
    • +3
    ./kotlin/dsl/PluginDependenciesSpecScopeTest.kt
  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

    • -5
    • +3
    ./kotlin/dsl/PluginDependenciesSpecScopeTest.kt
  1. … 10 more files in changeset.
Kotlin 1.4-M1

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

  1. … 36 more files in changeset.
Upgrade JUnit version (#12924)

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

    • -1
    • +1
    ./kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ExtraPropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ObjectFactoryExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/caching/LoadDirectoryTest.kt
    • -1
    • +1
    ./kotlin/dsl/provider/ScriptApiTest.kt
    • -1
    • +1
    ./kotlin/dsl/resolver/CompactTreeTest.kt
  1. … 322 more files in changeset.
Upgrade JUnit

    • -1
    • +1
    ./kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ExtraPropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ObjectFactoryExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/caching/LoadDirectoryTest.kt
    • -1
    • +1
    ./kotlin/dsl/provider/ScriptApiTest.kt
    • -1
    • +1
    ./kotlin/dsl/resolver/CompactTreeTest.kt
  1. … 321 more files in changeset.
Since 6.5

Signed-off-by: CristianGM <cristiangm@gmail.com>

Signed-off-by: cristian-garcia <cristian.garcia@scmspain.com>

  1. … 2 more files in changeset.
Treat Kotlin warnings as errors in the codebase

    • -0
    • +1
    ./kotlin/dsl/BuildCacheConfigurationExtensionsTest.kt
  1. … 17 more files in changeset.
Fix remaining Kotlin compilation warnings in :kotlinDsl in src/test

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

    • -0
    • +1
    ./kotlin/dsl/BuildCacheConfigurationExtensionsTest.kt
Fix remaining Kotlin compilation warnings in :kotlinDsl in src/test

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

    • -0
    • +1
    ./kotlin/dsl/BuildCacheConfigurationExtensionsTest.kt
Replace deprecated methods

Fix more

    • -1
    • +1
    ./kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ExtraPropertiesExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/ObjectFactoryExtensionsTest.kt
    • -1
    • +1
    ./kotlin/dsl/caching/LoadDirectoryTest.kt
    • -1
    • +1
    ./kotlin/dsl/provider/ScriptApiTest.kt
    • -1
    • +1
    ./kotlin/dsl/resolver/CompactTreeTest.kt
  1. … 81 more files in changeset.
Tell JaCoCo to ignore kotlin-dsl generated files

As stated in the issue #10956 the code generated by Gradle affects severely to our coverage.

I've created the annotation at org.gralde.api.internal because I expect no one uses it, it can be named differently while it contains Generated in the name

I haven't added a test checking this explicitly, no idea where to do it properly, but checked on out projects and there is still a small issue, accessors that contain methods with default arguments are still shown as not covered.

Signed-off-by: CristianGM <cristiangm@gmail.com>

Signed-off-by: cristian-garcia <cristian.garcia@scmspain.com>

  1. … 3 more files in changeset.
Fix deprecation warning

  1. … 3 more files in changeset.
Fix deprecation warning

  1. … 3 more files in changeset.
Upgrade Kotlin to 1.3.72

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

  1. … 35 more files in changeset.
Upgrade Kotlin to 1.3.72

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

  1. … 35 more files in changeset.
Upgrade Kotlin to 1.3.72

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

  1. … 35 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.

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

    • -3
    • +13
    ./kotlin/dsl/execution/InterpreterTest.kt
  1. … 10 more files in changeset.
Update Gradle API extensions generated jar hash

in reproducibility test

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

Update Gradle API extensions generated jar hash

in reproducibility test

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

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 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.