Closed jj-sn closed 2 years ago
I used:
Please verify with latest version 2.4.0. Thanks.
I cam't even reproduce the problem with the old gradle and gradle-git-properties versions anymore. Current versions work fine, too. :shrug: I guess this can be closed.
:wave: Hi, I get a
RepositoryNotFoundException
when I apply the plugin to a gradle sub project and rungenerateGitProperties
from a git hook. The plugin seems to be looking for the git repository in the sub project directory instead of the root project directory. The gradle task runs successfully when executed directly.Structure:
settings.gradle:
sub/build.gradle:
.git/hooks/pre-commit:
Committing triggers the exception: