Skip to content

Commit

Permalink
build: Make spotless also handle single year in license header
Browse files Browse the repository at this point in the history
- This will handle both single year and ranges. https://github.com/diffplug/spotless/tree/main/plugin-gradle#license-header
- Change license header to single year for new files `GrailsWrapper` and `GrailsProfiles`.
  • Loading branch information
matrei committed Oct 10, 2024
1 parent ef4fe55 commit b5ae61b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/spotless.license.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-$YEAR original authors
* Copyright $YEAR original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2024 original authors
* Copyright 2024 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2024 original authors
* Copyright 2024 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit b5ae61b

Please sign in to comment.