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

format task without copyright #2658

Open
koppor opened this issue Oct 27, 2023 · 0 comments
Open

format task without copyright #2658

koppor opened this issue Oct 27, 2023 · 0 comments

Comments

@koppor
Copy link

koppor commented Oct 27, 2023

What happened?

I was recommened com.palantir.java-format from https://github.com/palantir/palantir-java-format#palantir-java-format. I installed the plugin

apply plugin: 'com.palantir.baseline-format'
apply plugin: 'com.palantir.java-format'

I ran the format task

Output

Couldn't list copyright directory: C:\git-repositories\jabref\.baseline\copyright

Empty directory lead to > java.util.NoSuchElementException (no error message)

Directory with just .gitkeep leads to:

License header must contain year token [${today.year}, /*
 *
 */
]

What did you want to happen?

./gradlew format should work without copyright file

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

No branches or pull requests

1 participant