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.

    • -12
    • +23
    ./resolver/KotlinBuildScriptDependenciesResolver.kt
    • -7
    • +21
    ./resolver/KotlinBuildScriptModelRequest.kt
  1. … 1 more file in changeset.
Flush output stream after redirecting it

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

Ignore compiler output when not `isDebugEnabled`

  1. … 1 more file in changeset.
Flush `LoggingOutputStream`

Stream compiler output to the debug log instead of accumulating it

Redirect Kotlin compiler output to the debug log

Polish comment

    • -1
    • +1
    ./execution/ResidualProgramCompiler.kt
:arrow_up: Kotlin 1.3.20

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

  1. … 1 more file in changeset.
Polish `ResidualProgramCompiler`

Clarify large script detection heuristic.

    • -3
    • +9
    ./execution/ResidualProgramCompiler.kt
Make script resource path self descriptive

    • -1
    • +1
    ./execution/ResidualProgramCompiler.kt
Allow scripts larger than 64KB

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

the emitted bytecode.

Resolves #1305

    • -29
    • +71
    ./execution/ResidualProgramCompiler.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

  1. … 3 more files in changeset.
Add `GeneratePrecompiledScriptPluginAccessors` task skeleton

    • -3
    • +4
    ./accessors/PluginAccessorsClassPath.kt
    • -1
    • +3
    ./precompile/PrecompiledScriptDependenciesResolver.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

    • -13
    • +21
    ./accessors/AccessorsClassPath.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>

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

    • -44
    • +87
    ./accessors/PluginAccessorsClassPath.kt
  1. … 13 more files in changeset.
Move kotlin-dsl in a sub directory

    • -102
    • +0
    ./BuildCacheConfigurationExtensions.kt
    • -39
    • +0
    ./ConfigurableFileCollectionExtensions.kt
    • -501
    • +0
    ./ConfigurationDeprecatedExtensions.kt
    • -113
    • +0
    ./ContentFilterableExtensions.kt
    • -28
    • +0
    ./DependencyConstraintHandlerExtensions.kt
    • -89
    • +0
    ./DependencyConstraintHandlerScope.kt
    • -283
    • +0
    ./DependencyHandlerExtensions.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>

    • -7
    • +30
    ./accessors/tasks/PrintAccessors.kt
  1. … 4 more files in changeset.
Simplify `File.walkReproducibly`

  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.

    • -26
    • +0
    ./resolver/KotlinBuildScriptDependenciesResolver.kt
    • -8
    • +68
    ./resolver/KotlinBuildScriptModelRequest.kt
  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.

    • -13
    • +1
    ./resolver/KotlinBuildScriptDependenciesResolver.kt
    • -3
    • +12
    ./resolver/KotlinBuildScriptModelRequest.kt
  1. … 1 more file in changeset.
Fix GenerateScriptPluginAdapters cacheability

by fixing overlapping inputs/outputs

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

  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>

    • -5
    • +6
    ./accessors/PluginAccessorsClassPath.kt
  1. … 4 more files in changeset.