Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add kotlin-eap repo to all .gradle.kts script handlers

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

    • -0
    • +4
    ./dsl/provider/KotlinScriptEvaluator.kt
Reduce scope of `withSystemProperty` lock around the Kotlin compiler

To just the `KotlinCoreEnvironment.createForProduction` call which triggers the

evaluation of the property.

Reduce scope of `@Suppress("deprecation")` annotations

    • -2
    • +1
    ./dsl/precompile/PrecompiledInitScript.kt
Treat Kotlin warnings as errors in the codebase

    • -0
    • +2
    ./dsl/BuildCacheConfigurationExtensions.kt
    • -0
    • +2
    ./dsl/ComponentMetadataHandlerExtensions.kt
    • -0
    • +1
    ./dsl/precompile/PrecompiledInitScript.kt
  1. … 10 more files in changeset.
Fix Kotlin compilation warnings in :kotlinDsl

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

    • -0
    • +2
    ./dsl/BuildCacheConfigurationExtensions.kt
    • -0
    • +2
    ./dsl/ComponentMetadataHandlerExtensions.kt
    • -1
    • +4
    ./dsl/codegen/ApiExtensionsGenerator.kt
    • -1
    • +1
    ./dsl/precompile/PrecompiledInitScript.kt
Fix Kotlin compilation warnings in :kotlinDsl

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

    • -0
    • +2
    ./dsl/BuildCacheConfigurationExtensions.kt
    • -0
    • +2
    ./dsl/ComponentMetadataHandlerExtensions.kt
    • -1
    • +4
    ./dsl/codegen/ApiExtensionsGenerator.kt
    • -1
    • +1
    ./dsl/precompile/PrecompiledInitScript.kt
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. … 4 more files in changeset.
Revert "Apply undeclared system property instrumentation to Kotlin DSL build scripts."

This reverts commit 12078dca862c9f0f0aa6e9ad3f4700fc5adcb745.

    • -10
    • +6
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Revert "Merge pull request #12913 from gradle/eskatos/build/update-ktlint-convention"

This reverts commit edb0ca46e44204fdd99de8a85d9c88dfff5ccd7b, reversing

changes made to 4a2a0e7faa6eb540fb58f4b55e8cd019073442c9.

  1. … 7 more files in changeset.
Update kotlin-dsl-conventions code quality plugin to 0.5.0

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

  1. … 8 more files in changeset.
Update kotlin-dsl-conventions code quality plugin to 0.5.0

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

  1. … 7 more files in changeset.
Update kotlin-dsl-conventions code quality plugin to 0.5.0

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

  1. … 8 more files in changeset.
Update kotlin-dsl-conventions code quality plugin to 0.5.0

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

  1. … 8 more files in changeset.
Update kotlin-dsl-conventions code quality plugin to 0.5.0

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

  1. … 8 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property detection to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 7 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property detection to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 7 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property instrumentation to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 8 more files in changeset.
Apply undeclared system property detection to Kotlin DSL build scripts.

    • -6
    • +10
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 7 more files in changeset.
Simplify the discovery of the script plugin factories, to use regular registration and injection similar to how other pluggable services are discovered.

  1. … 18 more files in changeset.
Simplify the discovery of the script plugin factories, to use regular registration and injection similar to how other pluggable services are discovered.

  1. … 18 more files in changeset.
Move script plugin factory types to live with the other DSL language discovery types.

  1. … 26 more files in changeset.
Move script plugin factory types to live with the other DSL language discovery types.

  1. … 26 more files in changeset.
Move script plugin factory types to live with the other DSL language discovery types.

  1. … 26 more files in changeset.
Move DSL language discovery types to live together in core.

    • -0
    • +2
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 28 more files in changeset.
Move DSL language discovery types to live together in core.

    • -0
    • +2
    ./dsl/provider/KotlinScriptEvaluator.kt
  1. … 28 more files in changeset.