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

Unify LyricistConfig and common processor things #36

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

DevNatan
Copy link
Collaborator

@DevNatan DevNatan commented Nov 29, 2023

Creates a base version of the processor and its configurations in order to simplify the creation of new implementations such as #27, reduce duplicated code between them and unify error handling and other treatments.

File-based like XML, upcoming JSON and #27 (.properties) will use the same configuration keys and XML-specific ones will be marked as deprecated.

Processors are resolved by classpath resolution following the " cafe.adriel.lyricist.processor.internal.Lyricist[...]SymbolProcessor" class name pattern

Deprecated properties will be shown as KSP warning

w: [ksp] Lyricist KSP argument "lyricist.xml.defaultLanguageTag" is deprecated, use "lyricist.defaultLanguageTag" instead.

Test it by running all samples.
Everything must work exactly like now after that.

@DevNatan DevNatan added the codegen Code generation capatibility related issue label Nov 29, 2023
@DevNatan DevNatan self-assigned this Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen Code generation capatibility related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant