gradle-git-versioner icon indicating copy to clipboard operation
gradle-git-versioner copied to clipboard

Not support gradle project in a git subfolder

Open kbyyd24 opened this issue 3 years ago • 1 comments

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.

kbyyd24 avatar Apr 12 '21 03:04 kbyyd24