Support author name in LicenseHeaderStep
Offen
enhancement
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 559
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 34
Beschreibung
Some license texts include the name of the file's initial creator. This is currently not possible to do with the `LicenseHeaderStep`.
Maybe the step could should work with templates rather than constant strings, e,g,
```groovy
licenseHeader('/* Copyright ${year} ${author}*/',
[year: java.time.LocalDate.now().year, author: 'John Doe'])
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.