You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* GH-1344: Enable updateCopyrights onlyIf grgit
Fixes#1344
Sometimes people build our project outside of Git repository
* Make the `updateCopyrights` Gralde task conditional on
the presence of `grgit` object initialized by the
`org.ajoberstar.grgit` when Git repository is present.
Otherwise it is `null`
* Check for `grgit` presence when we try to gather `modifiedFiles`
* * Check for `.git` dir before applying `grgit` plugin
0 commit comments