Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce resolver request correlation id

And make it possible to correlate events from the Kotlin DSL resolver

log with the daemon log.

    • -0
    • +8
    ./gradle/kotlin/dsl/resolver/ResolverEvent.kt
  1. … 1 more file in changeset.
Flush output stream after redirecting it

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

    • -0
    • +1
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
Ignore compiler output when not `isDebugEnabled`

    • -14
    • +30
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
  1. … 1 more file in changeset.
Flush `LoggingOutputStream`

    • -1
    • +5
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
Stream compiler output to the debug log instead of accumulating it

    • -37
    • +42
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
Redirect Kotlin compiler output to the debug log

    • -3
    • +50
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
Polish comment

:arrow_up: Kotlin 1.3.20

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

    • -2
    • +2
    ./gradle/kotlin/dsl/support/KotlinCompiler.kt
  1. … 1 more file in changeset.
Polish `ResidualProgramCompiler`

Clarify large script detection heuristic.

Make script resource path self descriptive

Allow scripts larger than 64KB

By storing large scripts as a resource instead of a script constant in

the emitted bytecode.

Resolves #1305

    • -1
    • +1
    ./gradle/kotlin/dsl/cache/ScriptCache.kt
    • -3
    • +3
    ./gradle/kotlin/dsl/execution/Interpreter.kt
  1. … 2 more files in changeset.
Replace exceptions by strings in TAPI model

In order to avoid serialization issues observed on Java 11.

Resolves #1308

    • -2
    • +2
    ./gradle/kotlin/dsl/resolver/ResolverEvent.kt
  1. … 3 more files in changeset.
Add `GeneratePrecompiledScriptPluginAccessors` task skeleton

    • -2
    • +4
    ./gradle/kotlin/dsl/accessors/Emitter.kt
  1. … 6 more files in changeset.
Add hash code separator before configurations to avoid clashes

Polish `AccessorsClassPath`

- Rename function to improve prose

Improve computation of cache key from project schema

- build a `HashCode` iteratively instead of assembling a potentially

huge string

- make sure the hash code distinguishes among extensions, conventions,

tasks and container elements by inserting a separator (the set size)

between each one of them

    • -1
    • +1
    ./gradle/kotlin/dsl/cache/ScriptCache.kt
  1. … 2 more files in changeset.
Add convenience method for `MapProperty` that was introduced in 5.1

Signed-off-by: Mike Kobit <mkobit@gmail.com>

    • -0
    • +10
    ./gradle/kotlin/dsl/ObjectFactoryExtensions.kt
Let cache key derived from project schema include tasks and elements

Resolves #1303

  1. … 2 more files in changeset.
Emit type-safe accessors for plugins in the compile classpath

    • -0
    • +12
    ./gradle/kotlin/dsl/concurrent/IO.kt
  1. … 13 more files in changeset.
Move kotlin-dsl in a sub directory

    • -25
    • +0
    ./gradle/kotlin/dsl/ActionExtensions.kt
    • -93
    • +0
    ./gradle/kotlin/dsl/ArtifactHandlerScope.kt
    • -102
    • +0
    ./gradle/kotlin/dsl/BuildCacheConfigurationExtensions.kt
    • -27
    • +0
    ./gradle/kotlin/dsl/CallableExtensions.kt
    • -39
    • +0
    ./gradle/kotlin/dsl/ConfigurableFileCollectionExtensions.kt
    • -501
    • +0
    ./gradle/kotlin/dsl/ConfigurationDeprecatedExtensions.kt
    • -34
    • +0
    ./gradle/kotlin/dsl/ConfigurationExtensions.kt
    • -104
    • +0
    ./gradle/kotlin/dsl/ConventionExtensions.kt
    • -39
    • +0
    ./gradle/kotlin/dsl/CopySpecExtensions.kt
    • -28
    • +0
    ./gradle/kotlin/dsl/DependencyConstraintHandlerExtensions.kt
    • -216
    • +0
    ./gradle/kotlin/dsl/DependencyHandlerScope.kt
  1. … 1565 more files in changeset.
Fix some comment formatting

new rule in ktlint

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

Let `PrintAccessors` emit the same code used for the extensions jar

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

    • -191
    • +0
    ./gradle/kotlin/dsl/accessors/CodeGenerator.kt
    • -1
    • +1
    ./gradle/kotlin/dsl/accessors/Emitter.kt
  1. … 4 more files in changeset.
Simplify `File.walkReproducibly`

    • -13
    • +15
    ./gradle/kotlin/dsl/support/zip.kt
  1. … 1 more file in changeset.
Simplify File.walkReproducibly()

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

Merge branch 'develop' into eskatos/caching/generated-code-reproducibility

Serve the right classpath for scripts in nested projects

By doing a 2nd tooling API query against a potential nested project

whenever the given script cannot be determined to belong to the

imported project.

  1. … 5 more files in changeset.
Let zipTo() create reproducible archives

reproducible index order

constant entry time

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

  1. … 1 more file in changeset.
Move project root discovery logic lower in the stack

So it can be tested separately from the resolver.

  1. … 1 more file in changeset.
Fix GenerateScriptPluginAdapters cacheability

by fixing overlapping inputs/outputs

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

    • -0
    • +23
    ./gradle/kotlin/dsl/support/string.kt
  1. … 1 more file in changeset.
Let code generation always use same line separators

in order to produce reproducible outputs

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

  1. … 4 more files in changeset.