Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Ignore compiler output when not `isDebugEnabled`

  1. … 1 more file in changeset.
Revert "Let tests assertions tolerate interleaved logs"

This reverts commit 96f1fa5207fd22d04505370defb9f95c1c6de500.

    • -3
    • +3
    ./integration/KotlinBuildScriptIntegrationTest.kt
  1. … 2 more files in changeset.
Work around Kotlin compiler bug by marking function inline

    • -1
    • +1
    ./execution/ResidualProgramCompilerTest.kt
Let tests assertions tolerate interleaved logs

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

    • -3
    • +3
    ./integration/KotlinBuildScriptIntegrationTest.kt
  1. … 2 more files in changeset.
Make large script size test more precise

    • -1
    • +1
    ./integration/KotlinBuildScriptIntegrationTest.kt
Allow scripts larger than 64KB

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

the emitted bytecode.

Resolves #1305

    • -4
    • +9
    ./execution/ResidualProgramCompilerTest.kt
    • -0
    • +32
    ./integration/KotlinBuildScriptIntegrationTest.kt
  1. … 4 more files in changeset.
Replace exceptions by strings in TAPI model

In order to avoid serialization issues observed on Java 11.

Resolves #1308

    • -1
    • +1
    ./resolver/KotlinBuildScriptModelRepositoryTest.kt
  1. … 4 more files in changeset.
Fix test expectations after distro upgrade

    • -2
    • +4
    ./resolver/SourceDistributionResolverIntegrationTest.kt
  1. … 2 more files in changeset.
Fix `LoadDirectoryTest` after API change

Merge gradle/kotlin-dsl@v1.1.1 into eskatos/kotlin-dsl-merge

commit 'e57395d8378'

# Conflicts:

# build.gradle.kts

# gradle/wrapper/gradle-wrapper.properties

# samples/ant/gradle/wrapper/gradle-wrapper.properties

# samples/build-cache/gradle/wrapper/gradle-wrapper.properties

# samples/build-scan/gradle/wrapper/gradle-wrapper.properties

# samples/buildSrc-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/code-quality/gradle/wrapper/gradle-wrapper.properties

# samples/composite-builds/gradle/wrapper/gradle-wrapper.properties

# samples/copy/gradle/wrapper/gradle-wrapper.properties

# samples/domain-objects/gradle/wrapper/gradle-wrapper.properties

# samples/extra-properties/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/groovy-interop/gradle/wrapper/gradle-wrapper.properties

# samples/hello-android/gradle/wrapper/gradle-wrapper.properties

# samples/hello-coroutines/gradle/wrapper/gradle-wrapper.properties

# samples/hello-js/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kapt/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kotlin/gradle/wrapper/gradle-wrapper.properties

# samples/hello-world/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/consumer/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-publish/gradle/wrapper/gradle-wrapper.properties

# samples/model-rules/gradle/wrapper/gradle-wrapper.properties

# samples/modularity/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-config-injection/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project/gradle/wrapper/gradle-wrapper.properties

# samples/multi-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/project-properties/gradle/wrapper/gradle-wrapper.properties

# samples/project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/provider-properties/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/external/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/sample/gradle/wrapper/gradle-wrapper.properties

# samples/task-dependencies/gradle/wrapper/gradle-wrapper.properties

# samples/testkit/gradle/wrapper/gradle-wrapper.properties

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

# subprojects/plugins/src/test/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/ScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

# update-wrapper.sh

    • -236
    • +0
    ./accessors/ProjectSchemaHashCodeTest.kt
  1. … 16 more files in changeset.
Update affected test expectations after distro update

    • -5
    • +5
    ./resolver/SourceDistributionResolverIntegrationTest.kt
  1. … 1 more file in changeset.
Avoid invalid jar in flaky integration test

    • -4
    • +0
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
    • -2
    • +2
    ./integration/PrecompiledScriptPluginModelIntegrationTest.kt
    • -0
    • +5
    ./integration/ScriptModelIntegrationTest.kt
Revert "Relocate integration test to avoid issues caused by the temp test dir name"

This reverts commit 4722f630cb7ea8f92b67cf9c4b6194ff14090d3b.

    • -27
    • +23
    ./integration/PrecompiledScriptPluginModelIntegrationTest.kt
Relocate integration test to avoid issues caused by the temp test dir name

    • -23
    • +27
    ./integration/PrecompiledScriptPluginModelIntegrationTest.kt
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

    • -0
    • +236
    ./accessors/ProjectSchemaHashCodeTest.kt
    • -115
    • +16
    ./accessors/ProjectSchemaTest.kt
  1. … 2 more files in changeset.
Add test for `MapProperty` shortcut method

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

Let cache key derived from project schema include tasks and elements

Resolves #1303

    • -7
    • +122
    ./accessors/ProjectSchemaTest.kt
  1. … 2 more files in changeset.
Emit type-safe accessors for plugins in the compile classpath

    • -22
    • +3
    ./accessors/PluginAccessorsClassPathTest.kt
    • -0
    • +1
    ./accessors/ProjectAccessorsClassPathTest.kt
  1. … 15 more files in changeset.
Move kotlin-dsl in a sub directory

    • -107
    • +0
    ./ArtifactHandlerExtensionsTest.kt
    • -96
    • +0
    ./BuildCacheConfigurationExtensionsTest.kt
    • -28
    • +0
    ./ConfigurableFileCollectionExtensionsTest.kt
    • -47
    • +0
    ./ContentFilterableExtensionsTest.kt
    • -224
    • +0
    ./DelegatedGradlePropertiesExtensionsTest.kt
    • -318
    • +0
    ./DependencyHandlerExtensionsTest.kt
    • -116
    • +0
    ./ExtensionContainerExtensionsTest.kt
    • -104
    • +0
    ./ExtraPropertiesExtensionsTest.kt
    • -622
    • +0
    ./NamedDomainObjectCollectionExtensionsTest.kt
  1. … 1565 more files in changeset.
Remove unnecesary base class

    • -1
    • +14
    ./accessors/ProjectAccessorsClassPathTest.kt
    • -35
    • +0
    ./accessors/ProjectSchemaBasedTest.kt
    • -2
    • +2
    ./accessors/tasks/PrintAccessorsTest.kt
Let `PrintAccessors` emit the same code used for the extensions jar

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

    • -11
    • +1
    ./accessors/ProjectAccessorsClassPathTest.kt
    • -0
    • +35
    ./accessors/ProjectSchemaBasedTest.kt
    • -0
    • +77
    ./accessors/tasks/PrintAccessorsTest.kt
  1. … 4 more files in changeset.
Simplify `File.walkReproducibly`

    • -0
    • +68
    ./support/WalkReproduciblyTest.kt
  1. … 1 more file in changeset.
Re-enable tests on Windows

    • -36
    • +8
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
Ignore failing tests on Windows temporarily

    • -0
    • +14
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
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.

    • -50
    • +73
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
    • -7
    • +9
    ./integration/ScriptModelIntegrationTest.kt
    • -1
    • +2
    ./resolver/KotlinBuildScriptModelRepositoryTest.kt
  1. … 4 more files in changeset.
Don't canonicalize test jar file name for compatibility with Windows

    • -3
    • +3
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
  1. … 1 more file in changeset.
Move project root discovery logic lower in the stack

So it can be tested separately from the resolver.

    • -9
    • +67
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
  1. … 3 more files 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. … 7 more files in changeset.
Fix wrong assertion in ArtifactHandlerExtensionsTest

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

Always resolve the script classpath against the imported project dir

To account for subprojects outside the root project directory.

This commit temporarily breaks the support for nested projects like

the ones found in `kotlin-dsl/samples` which shall be restored in a

subsequent commit.

Resolves #1231

    • -10
    • +65
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
    • -2
    • +1
    ./integration/PrecompiledScriptPluginModelIntegrationTest.kt
    • -2
    • +3
    ./integration/ScriptModelIntegrationTest.kt
  1. … 5 more files in changeset.