EmbeddedKotlinPluginTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix EmbeddedKotlinPluginTest

The `embedded-kotlin` plugin now requires a repository to be declared.

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

Fix EmbeddedKotlinPluginTest

The `embedded-kotlin` plugin now requires a repository to be declared.

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

Fix EmbeddedKotlinPluginTest

The `embedded-kotlin` plugin now requires a repository to be declared.

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

Fix tests in Kotlin DSL subprojects

  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

  1. … 7 more files in changeset.
Adjust tests and samples to new metadata sources defaults

  1. … 95 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

  1. … 32 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

  1. … 32 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

  1. … 32 more files in changeset.
Revert "Merge pull request #9759 from gradle/eskatos/kotlin/1.3.40"

This reverts commit 2c6fb9495acea6a150ad313ed3474ebc3689b920, reversing

changes made to 8959fc43370bc5141db6f775b333f36d30cc42a1.

  1. … 26 more files in changeset.
Upgrade embedded Kotlin from 1.3.31 to 1.3.40

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

  1. … 7 more files in changeset.
Upgrade embedded Kotlin from 1.3.31 to 1.3.40

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

  1. … 7 more files in changeset.
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

  1. … 28 more files in changeset.
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

  1. … 28 more files in changeset.
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

  1. … 28 more files in changeset.
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

  1. … 28 more files in changeset.
Add `kotlin-scripting-compiler-embeddable` to embedded Kotlin repository

  1. … 1 more file in changeset.
Simplify `AbstractKotlinIntegrationTest` hierarchy

  1. … 9 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.

  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

  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>

  1. … 12 more files in changeset.
Remove a bunch of @LeaksFileHandles annotations

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

  1. … 4 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>

  1. … 6 more files in changeset.
Let all PluginIntegTest integ tests use gradle/gradle executer

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

  1. … 13 more files in changeset.
Move :kotlinDslPlugins integration tests to src/integTest

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

    • -0
    • +248
    ./EmbeddedKotlinPluginTest.kt
  1. … 10 more files in changeset.