Update license year (#871)

* Update license header file spec to use placeholder year
* Update spotless to use ratchet formatting (only format files that have changed)
This commit is contained in:
Daniel Chao
2025-01-07 10:15:07 +00:00
committed by Daniel Chao
parent 6c8e45b19a
commit 56a3b0a193
5 changed files with 12 additions and 4 deletions

View File

@@ -26,6 +26,10 @@ Enable _jenv_ plugins for better handling by `gradle`:
jenv enable-plugin gradle
jenv enable-plugin export
----
. (optional) If you've named the original apple/pkl git repository something other than `origin`, set env var `PKL_ORIGINAL_REMOTE_NAME` to that name in your `.bashrc`, `.zshrc`, `config.fish` or however you manage your local environment.
+
This will allow spotless to pick the correct starting branch when formatting source code files.
Otherwise, you might see that _every_ file has its copyright year updated.
=== Additional Linux Setup
. (optional) To build the native executable (`./gradlew buildNative`),