integration

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Let tests assertions tolerate interleaved logs"

This reverts commit 96f1fa5207fd22d04505370defb9f95c1c6de500.

  1. … 2 more files in changeset.
Let tests assertions tolerate interleaved logs

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

  1. … 2 more files in changeset.
Make large script size test more precise

Allow scripts larger than 64KB

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

the emitted bytecode.

Resolves #1305

    • -0
    • +32
    ./KotlinBuildScriptIntegrationTest.kt
  1. … 5 more files in changeset.
Avoid invalid jar in flaky integration test

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

This reverts commit 4722f630cb7ea8f92b67cf9c4b6194ff14090d3b.

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

    • -23
    • +27
    ./PrecompiledScriptPluginModelIntegrationTest.kt
Move kotlin-dsl in a sub directory

    • -42
    • +0
    ./DelegatedExtraPropertiesIntegrationTest.kt
    • -208
    • +0
    ./DelegatedGradlePropertiesIntegrationTest.kt
    • -132
    • +0
    ./KotlinBuildScriptIntegrationTest.kt
    • -516
    • +0
    ./KotlinBuildScriptModelIntegrationTest.kt
    • -132
    • +0
    ./KotlinInitScriptIntegrationTest.kt
    • -53
    • +0
    ./KotlinInitScriptModelIntegrationTest.kt
    • -108
    • +0
    ./KotlinSettingsScriptIntegrationTest.kt
    • -95
    • +0
    ./KotlinSettingsScriptModelIntegrationTest.kt
    • -172
    • +0
    ./LocationAwareScriptEvaluationIntegrationTest.kt
    • -47
    • +0
    ./PluginDependenciesSpecAccessorsIntegrationTest.kt
    • -102
    • +0
    ./PrecompiledScriptPluginModelIntegrationTest.kt
  1. … 1566 more files in changeset.
Re-enable tests on Windows

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

    • -0
    • +14
    ./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
    ./KotlinBuildScriptModelIntegrationTest.kt
  1. … 5 more files in changeset.
Don't canonicalize test jar file name for compatibility with Windows

    • -3
    • +3
    ./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
    ./KotlinBuildScriptModelIntegrationTest.kt
  1. … 3 more files in changeset.
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
    ./KotlinBuildScriptModelIntegrationTest.kt
    • -2
    • +1
    ./PrecompiledScriptPluginModelIntegrationTest.kt
  1. … 5 more files in changeset.
Prove querying the classpath of script plugins with errors works

    • -2
    • +44
    ./KotlinBuildScriptModelIntegrationTest.kt
Let IDE resolver not run buildSrc tests

for both leniency and better responsiveness

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

    • -0
    • +21
    ./KotlinBuildScriptModelIntegrationTest.kt
  1. … 4 more files in changeset.
Introduce type-safe accessors for plugin ids

Starting with this commit, the Kotlin DSL will generate type-safe

accessors for all plugin ids found in the `buildSrc` classpath.

So instead of writing:

```kotlin

plugins {

id("gradlebuild.strict-compile")

id("gradlebuild.classcycle")

}

```

One can write:

```kotlin

plugins {

gradlebuild.`strict-compile`

gradlebuild.classcycle

}

```

All while enjoying content assist and source code navigation all the

way down to the plugin implementation class.

    • -0
    • +47
    ./PluginDependenciesSpecAccessorsIntegrationTest.kt
  1. … 17 more files in changeset.
Bump script language level to 1.3

    • -0
    • +29
    ./KotlinBuildScriptIntegrationTest.kt
  1. … 1 more file in changeset.
Fix `DependencyManagementIntegrationTest` on Windows

    • -0
    • +1
    ./KotlinBuildScriptModelIntegrationTest.kt
    • -6
    • +2
    ./KotlinSettingsScriptModelIntegrationTest.kt
  1. … 4 more files in changeset.
Remove @LeaksFileHandles test annotations where applicable

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

    • -2
    • +0
    ./KotlinSettingsScriptIntegrationTest.kt
  1. … 4 more files in changeset.
Remove unnecessary `apply` method from `SettingsScriptApi`

Resolves #1066

    • -0
    • +26
    ./KotlinSettingsScriptIntegrationTest.kt
  1. … 1 more file in changeset.
Remove unnecessary `apply` method from `SettingsScriptApi`

Resolves #1066

    • -0
    • +26
    ./KotlinSettingsScriptIntegrationTest.kt
  1. … 1 more file in changeset.
Remove unnecessary parentheses from `plugins` invocation

  1. … 3 more files in changeset.
Remove unnecessary parentheses from `plugins` invocation

  1. … 3 more files in changeset.
Add coverage for Gradle API parameter names and kotlin delegation

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

    • -0
    • +73
    ./GradleApiParameterNamesTest.kt
Merge branch 'develop' into eskatos/lazy/container-string-invoke

  1. … 5 more files in changeset.
Fix tests now that container scope string invoke is lazy

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

  1. … 5 more files in changeset.
Move GradleKotlinDslIntegrationTest to :integ-tests

as it relies on kotlin-dsl plugin

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

    • -898
    • +0
    ./GradleKotlinDslIntegrationTest.kt
  1. … 3 more files in changeset.
Make `KotlinBuildScriptModelBuilder` resilient against exceptions

Particularly against exceptions happening during script classpath

computation.

    • -0
    • +12
    ./KotlinBuildScriptModelIntegrationTest.kt
  1. … 3 more files in changeset.
Let `Project` scripts be cached in the Gradle build cache

If the build cache is enabled and the Gradle property

`org.gradle.kotlin.dsl.caching.buildcache` is set to true.

    • -448
    • +0
    ./ScriptCachingIntegrationTest.kt
  1. … 12 more files in changeset.