Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark ShadowJar.dependencyFilter as Input #1206

Merged
merged 7 commits into from
Jan 28, 2025
Merged

Conversation

Goooler
Copy link
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
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
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
7 checks passed
@Goooler Goooler deleted the g/20250127/more-inputs branch January 28, 2025 10:01
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