Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Initial support for optional features

This commit introduces initial support for optional features, by

implementing a way for a dependency declaration (currently *only* in

the DSL) to request variants of the target component that provide one

or more capabilities.

Previously to this change, selection was (simplified) done like this:

1. find the target component

2. select the variant of the target component which matches the requested


Now, selection introduces another step:

1. find the target component

2. filter variants by eliminating those which do not provide the requested


3. select the variant in this list which matches the requested attributes

Several changes had to be implemented:

First, component metadata rules calling `addCapability` will now return

a component which capabilities _include_ the default capability.

Second, attribute filtering is done in a secondary step, which means that

if there are no variant matching the requested capabilities, we will immediately


  1. … 44 more files in changeset.
Revert "Revert "PluginDependenciesSpecAccessorsIntegrationTest @LeaksFileHandles""

This reverts commit 4a2e7482e5074ee096b1aaf8cbca081e3dde7cfc.

Fix TestFile.forceDeleteDir()

Signed-off-by: Paul Merlin <>

Revert "PluginDependenciesSpecAccessorsIntegrationTest @LeaksFileHandles"

This reverts commit 78e02f9f626ffb070770549fcce9b214b6fe827e.

Raise accepted TAPI jar size by 1KB

to account for the parameter names index resource

Signed-off-by: Paul Merlin <>

Use `_Decorated` as class name for generated task classes

If we don't, there seems to be some problems when syncing with IDEA.

See #8244

PluginDependenciesSpecAccessorsIntegrationTest @LeaksFileHandles


Signed-off-by: Paul Merlin <>

Attempt to fix ScriptCachingIntegrationTest flakiness

Signed-off-by: Paul Merlin <>

TeamCity change in 'Gradle / Promotion' project: runners of 'Publish Branch Snapshot (from Quick Feedback)' build configuration were updated

TeamCity change in 'Gradle / Promotion' project: triggers of 'Release - Release Nightly Snapshot' build configuration were updated

Merge pull request #8230 from gradle/jjohannes/remove-idea

Remove support for using the `idea` task on the Gradle project


Run jfr

KotlinOneDotOnePluginIntegrationTest @LeaksFileHandles

Signed-off-by: Paul Merlin <>

Add setting environment variables to the TestKit support matrix docs

Add missing @Incubating and tweak docs

Publish 5.1.1-20190116000037+0000

Merge branch 'next-testkit' of

Skipped tests shouldn't write files in @Before

This makes the verifyTestFilesCleanup task fail

Signed-off-by: Paul Merlin <>

Fix application name failures

Remove `TaskValidator`

Use only PathToFileResolver

Add note about quirks of the initial IntelliJ import

Let test file cleanup report all non-deletable files

Signed-off-by: Paul Merlin <>

Remove unused import

Signed-off-by: Artem Zinnatullin <>

Unignore ScriptCachingIntegrationTest

Signed-off-by: Paul Merlin <>

Revert some unecessary changes

Address code review comment

  1. … 43 more files in changeset.
Refine kotlin-dsl-plugin-bundle plugin

considering integration tests don't use TestKit anymore

and simplifying the code layout

Signed-off-by: Paul Merlin <>

Selected tests require gradle distro instead of skipping when embedded

Signed-off-by: Paul Merlin <>