gradle-baseline icon indicating copy to clipboard operation
gradle-baseline copied to clipboard

format task without copyright

Open koppor opened this issue 1 year ago • 0 comments

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

koppor avatar Oct 27 '23 02:10 koppor