Skip to content

Use Gradle properties in nested Wire output DSL#3582

Merged
oldergod merged 3 commits intomasterfrom
sedwards/gradle-provider-target-dsl
May 6, 2026
Merged

Use Gradle properties in nested Wire output DSL#3582
oldergod merged 3 commits intomasterfrom
sedwards/gradle-provider-target-dsl

Conversation

@steve-the-edwards
Copy link
Copy Markdown
Contributor

@steve-the-edwards steve-the-edwards commented Apr 27, 2026

I recently had this issue - #3543 - but for the inner Custom Schema Handler DSL.

So I thought we could extend this type of solution - #3570 - to the DSL for this as well.

We need to keep them as Output's for as long as possible before converting to Target so that we can bring the Gradle Property/Provider plumbing through.

To adopt 'Gradle-idiomatic' naming we make the existing field names the Properties, and add setters if callers still want to send raw values.

@steve-the-edwards steve-the-edwards marked this pull request as draft April 27, 2026 21:08
@steve-the-edwards steve-the-edwards marked this pull request as ready for review April 28, 2026 14:57
@steve-the-edwards steve-the-edwards force-pushed the sedwards/gradle-provider-target-dsl branch from 39c6529 to 84de3a5 Compare May 6, 2026 13:35
Copy link
Copy Markdown
Member

@oldergod oldergod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a small commit. Good to go

@oldergod oldergod enabled auto-merge May 6, 2026 14:31
@oldergod oldergod merged commit 7bd55c8 into master May 6, 2026
17 checks passed
@oldergod oldergod deleted the sedwards/gradle-provider-target-dsl branch May 6, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants