gradle-git-versioner
gradle-git-versioner copied to clipboard
Not support gradle project in a git subfolder
I have a gradle project in a subfolder in git repository. When I import this plugin, could see an error:
* What went wrong:
A problem occurred configuring project 'my-project'.
> Failed to notify project evaluation listener.
> repository not found: /path/to/my-git-repo/my-project/.git
The folder structure is:
.
└.git
└── my-project
└── build.gradle
This issue can bypass by create a link file to the .git
folder.
ln -s ../.git .git
But this way will impact the git diff. I am not sure what the other impact.