Skip to content

Spotless SQL LINE ORIENTED File Extensions #1256

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

Closed
Akaame opened this issue Jul 7, 2022 · 1 comment · Fixed by #1277
Closed

Spotless SQL LINE ORIENTED File Extensions #1256

Akaame opened this issue Jul 7, 2022 · 1 comment · Fixed by #1277
Labels

Comments

@Akaame
Copy link

Akaame commented Jul 7, 2022

Documentation states that Spotless.SQL can use a dbeaver().configFile('dbeaver.props') however trying to set this config throws and error that this file extension is not supported and I see that it is not supported here.

Could we fix the documentation or add .props to list of supported file extensions?

Spotless configuration

spotless.sql {
    target 'src/main/resources/**/*.sql'

    dbeaver().configFile('dbeaver.props') // works with 'dbeaver.properties'
}

Cheers.

@EricGao888
Copy link
Contributor

I encountered the same bug and submitted a PR to fix it: #1277

Thx : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants