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

integrate spotless to prettify the generated code #53

Open
pahjbo opened this issue Jul 22, 2024 · 1 comment
Open

integrate spotless to prettify the generated code #53

pahjbo opened this issue Jul 22, 2024 · 1 comment
Labels
Beta Current released tooling has an implementation in test enhancement New feature or request Java is only for the java implementation

Comments

@pahjbo
Copy link
Member

pahjbo commented Jul 22, 2024

As a slightly unfortunate side effect of the code being generated via XSLT it is sometimes rather difficult to ensure that it is nicely formatted - the proposal is to use spotless https://github.com/diffplug/spotless to unify the format of the generated code. The gradle spotless plugin should be automatically included and configured by the VO-DML plugin

@pahjbo pahjbo added the enhancement New feature or request label Jul 22, 2024
@pahjbo
Copy link
Member Author

pahjbo commented Aug 7, 2024

this is done "longhand" in the sample project gradle build

//TODO integrate this into the main vodml plugin https://github.com/ivoa/vo-dml/issues/53

@pahjbo pahjbo added the Beta Current released tooling has an implementation in test label Aug 23, 2024
@pahjbo pahjbo added the Java is only for the java implementation label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta Current released tooling has an implementation in test enhancement New feature or request Java is only for the java implementation
Projects
None yet
Development

No branches or pull requests

1 participant