Skip to content

Conversation

@tomasbjerre
Copy link
Contributor

This allows a user to supply the configuration, needed by Eclipse formatter, as a string.

I have a precompiled script plugin that applies Spotless Gradle plugin with our Eclipse config. It would be easier if I did not have to supply a file in the configuration but just the content

A file means I have to have that file available for the plugin when it runs, actually it seems it is needed both during configuration and when the Spotless task runs. With content I can just read the content from some classpath resource in my precompiled script.

Would also be nice to be able to supply the configuration in XML format, but that can probably be a future PR.

@nedtwigg nedtwigg merged commit ca1a338 into diffplug:main Dec 8, 2024
16 checks passed
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.

2 participants