Skip to content

Mark ShadowJar.dependencyFilter as Input#1206

Merged
Goooler merged 7 commits intomainfrom
g/20250127/more-inputs
Jan 28, 2025
Merged

Mark ShadowJar.dependencyFilter as Input#1206
Goooler merged 7 commits intomainfrom
g/20250127/more-inputs

Conversation

@Goooler
Copy link
Copy Markdown
Member

@Goooler Goooler commented Jan 27, 2025

No description provided.

@Goooler Goooler force-pushed the g/20250127/more-inputs branch from 5af3f0a to 58564d3 Compare January 28, 2025 05:08
Comment on lines +125 to +129
@get:Internal
public open var keyTransformer: (String) -> String = IDENTITY
@Transient // Input property should be Serializable, but we don't want to serialize the lambda.
@get:Optional
@get:Input
public open var keyTransformer: ((String) -> String)? = null
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It can't work correctly with caching, see #1208 (comment).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reverts this in d39b7de.

@Goooler Goooler marked this pull request as ready for review January 28, 2025 09:22
@Goooler Goooler requested a review from Copilot January 28, 2025 09:27
@Goooler Goooler changed the title Mark more properties as Input Mark ShadowJar.dependencyFilter as Input Jan 28, 2025
@Goooler Goooler merged commit 83ca343 into main Jan 28, 2025
@Goooler Goooler deleted the g/20250127/more-inputs branch January 28, 2025 10:01
@Goooler Goooler review requested due to automatic review settings March 23, 2026 20:15
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.

1 participant