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

Add support for property-based plugin arguments #466

Merged
merged 7 commits into from
Jan 12, 2025

Conversation

drewhamilton
Copy link
Owner

Passes a list of Gradle properties starting with "poko." to the Poko compiler plugin as additional arguments. The main goal of this is to allow adding temporary feature flags that don't have to remain permanently in the Gradle plugin's API. For example, #465 can temporarily go behind a poko.experimental.enableFirGeneration flag so it can be smoke tested in a few different contexts without affecting regular consumers.

Unknown flags trigger a warning and are then ignored.

@drewhamilton drewhamilton merged commit 7bde5b2 into main Jan 12, 2025
8 checks passed
@drewhamilton drewhamilton deleted the drew/compiler-plugin-arguments branch January 12, 2025 04:50
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