kotlin-dsl-integ-tests

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let Kotlin DSL use first kotlin public type for accessors

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

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

  1. … 1 more file in changeset.
Fix kotlin-dsl regression #9919

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

  1. … 1 more file in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 90 more files in changeset.
Fix the format of the GradleKotlinDslIntegrationTest

Resolve additional failing tests

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 8 more files in changeset.
Adjust tests to use 'implementation' instead of 'compile'

  1. … 5 more files in changeset.
Change all subprojects to use 'implementation' dependencies

This includes:

- All projects now explicitly declare all dependencies to other

subprojects. This makes issues more visible, guards for accidental

addition of new dependencies, and leaks much less transitive

dependencies on the compile classpathes.

- All usages of 'runtime' to declare dependencies have been replaced

with 'runtimeOnly'

- All projects are now `java-library` (and declare this explicitly)

- Most remaining Groovy scripts are translated to Kotlin

- The old 'compile' and 'runtime' configurations are not

configured/created anymore for the 'testFixture' and 'integTest'

source sets.

- Some obsolete dependencies (see previous commits) are removed

- 'api' is used scarcely on purpose as the current project structure is

not well designed for this. The projects contain code for several

concerns of the build tool and thus putting complete projects on the

API of others exposes too much. They should be split up along

functional concerns first.

  1. … 112 more files 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.

  1. … 2 more files in changeset.
Let GradleKotlinDslIntegrationTest exercise under dev `kotlin-dsl` plugin

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

Move Kotlin DSL TAPI model tests for precompiled scripts as cross-version tests

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

  1. … 2 more files in changeset.
Disable ktlint for generated code for now

fixes #8687

  1. … 2 more files in changeset.
Fix GeneratePrecompiledScriptPluginAccessors task loading plugins {}

and un-ignore affected tests now passing

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

  1. … 1 more file in changeset.
Ignored failing tests for bug in precompiled script plugins tasks wiring

To be fixed and un-ignored

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

Drop no-op GenerateInternalPluginSpecBuilders

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

  1. … 2 more files in changeset.
Tighten precompiled script plugins cacheability and relocatability

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

Coverage for applying precompiled script plugin from Groovy script

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

Upgrade ktlint-convention plugin

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

  1. … 3 more files in changeset.
Fix refactoring gone wrong

Polish `PrecompiledScriptPluginIntegrationTest`

- Reuse $repositoriesBlock

- Reuse withPrecompiledKotlinScript

Mark offending tests with `@LeaksFileHandles`

  1. … 2 more files in changeset.
Un-ignore script model test

After publishing new `kotlin-dsl-plugins` version.

Include implicit imports for precompiled script plugin accessors

In model response.

Unfortunately the test must continue to be `@Ignore`d because the

tests don't execute against the latest version of the model builder.

  1. … 7 more files in changeset.
Move `PrecompiledScriptPluginModelIntegrationTest` to `kotlinDslIntegTests`

So it can be executed against the latest version of

`kotlinDslPlugins`.

  1. … 4 more files in changeset.
Use same spelling for `Task.enabled` property

Disable `verifyTestFilesCleanup` in Kotlin DSL projects with leaking test files

  1. … 1 more file in changeset.
Merge branch 'release' into bamboo/precompiled-script-plugins/type-safe-accessors

  1. … 1 more file in changeset.
Move `assumeJava11` closer to the other `assume*` functions

  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>

  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.

  1. … 5 more files in changeset.
Polish GradleApiExtensionsIntegrationTest

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