镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat: supply Eclipse config properties from string - #2343

Merged
nedtwigg merged 1 commit into
diffplug:mainfrom
tomasbjerre:feature/eclipse-config-without-file
Dec 8, 2024
Merged

nedtwigg merged 1 commit into
diffplug:mainfrom
tomasbjerre:feature/eclipse-config-without-file

Conversation

@tomasbjerre

Copy link
Copy Markdown
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.

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