ProjectSchemaAccessorsIntegrationTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix and unignore ignored kotlin-dsl integ test

this is an opportunistic change

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

    • -3
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
Move some classes around to bust up a package cycle.

    • -21
    • +8
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 60 more files in changeset.
Let Kotlin DSL use first kotlin public type for accessors

on all containers (tasks, extensions, etc..)

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

    • -0
    • +49
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Fix integration tests which don't use repo mirrors (#8972)

We observed some flakiness caused by not using repository mirrors: https://github.com/gradle/gradle-private/issues/2049

This PR identifies some integration tests which don't use mirrors and fixes them.

    • -2
    • +4
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 4 more files in changeset.
Merge branch 'release' into bamboo/precompiled-script-plugins/type-safe-accessors

    • -0
    • +60
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Move `assumeJava11` closer to the other `assume*` functions

    • -8
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Replace usages of `ASM6` with `ASM_LEVEL`

Fixes #8533

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

    • -0
    • +68
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
Let `AbstractPluginTest` write default settings file

To avoid hard to diagnose situations where the test ends up running

against the published version of a plugin instead of its local

version.

    • -25
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 7 more files in changeset.
Merge Kotlin DSL v1.1.3 into eskatos/kotlin-dsl-merge

Commit '14a172ad947819fe468af4b4d20197a78ea1338c'

# Conflicts:

# build.gradle.kts

# gradle/wrapper/gradle-wrapper.properties

# kotlin-version.txt

# 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/build.gradle.kts

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

# samples/hello-coroutines/build.gradle.kts

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

# samples/hello-js/build.gradle.kts

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

# samples/hello-kapt/build.gradle.kts

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

# samples/hello-kotlin/build.gradle.kts

# 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/build.gradle.kts

# 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/build.gradle.kts

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

# samples/multi-kotlin-project-with-buildSrc/build.gradle.kts

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

# samples/multi-kotlin-project/build.gradle.kts

# 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/PrecompiledScriptPluginIntegrationTest.kt

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

# subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

# subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ResolverEvent.kt

# subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ResolverEventLogger.kt

# subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/caching/LoadDirectoryTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompilerTest.kt

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

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

# subprojects/test-fixtures/src/main/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractIntegrationTest.kt

# update-wrapper.sh

    • -9
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 24 more files in changeset.
Review :kotlinDsl* usages of @LeaksFileHandles

all now have a comment saying why

some were removed favoring isolated daemons

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

    • -0
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 12 more files in changeset.
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

    • -0
    • +57
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 16 more files in changeset.
Skipped tests shouldn't write files in @Before

This makes the verifyTestFilesCleanup task fail

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

    • -0
    • +17
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Selected tests require gradle distro instead of skipping when embedded

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

    • -13
    • +13
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 8 more files in changeset.
Fix ProjectSchemaAccessorsIntegrationTest

after changes to DefaultConvention

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

    • -11
    • +18
    ./ProjectSchemaAccessorsIntegrationTest.kt
Let all PluginIntegTest integ tests use gradle/gradle executer

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

    • -0
    • +37
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 13 more files in changeset.
Move :kotlinDslIntegTests integration tests to src/integTest

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

    • -0
    • +1040
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 12 more files in changeset.