autonomousapps / autonomousapps/dependency-analysis-gradle-plugin

TestKit should expose some of its configurations and conventions for use by other plugins

Open
#1,777 3 comments 0 reactions 0 assignees View on GitHub
enhancement for:testkit more information needed
Dominant language
Kotlin
Stars
2.2k
Forks
158
Avg merge
16h 25m
Merged PRs (30d)
46

Description

**Is your feature request related to a problem? Please describe.**
I'm developing a Gradle plugin that uses test kit. It's impossible to get some things, like the `includedBuilds` the user specified. The reason being that I'm creating multiple `functionalTest` tasks with modified arguments and such.

There's also no way programmatic way to get names for `functionalTest` source set, tasks, etc

**Describe the solution you'd like**
Expose some of these properties publicly, so other plugins can depend on them

**Describe alternatives you've considered**
I'm hardcoding `functionalTest` names for now. I'm also copying `jvmArgumentsProviders`, but having to filter for `GradleJvmCommandLineArgumentProvider` because it breaks configuration cache.

Contributor guide

Open the contributing guide

Research direction

Start with the TestKit configuration around the functionalTest source set and tasks, then trace includedBuilds and jvmArgumentsProviders, including GradleJvmCommandLineArgumentProvider. Determine which names and properties can be exposed without breaking configuration-cache behavior; done when another plugin can use them without hardcoded functionalTest names or copied providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.