gradle-baseline
gradle-baseline copied to clipboard
format task without copyright
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