-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has git check to check project directory and custom location #37
Comments
Hi Dominic, So you'd wish to be able to specific the location of your versioning {
gitDirectory = "..."
} Would that be OK? |
Wow quick reply! Something like that i was actually trying to work out how to create a PR. i changed to this:
` |
Looks like a good patch. I'll need to create some integration test first. I'll do that later today or this week-end. You can also jump in and try to create a PR. |
Great thanks Damien. First time creating a PR on github so i will work it out when i get home. |
…bility to specify location of .git location
…e root dir and not full path to .git
Hi Damien, managed to create a pull request #38 Thank you, |
Closing this ticket in favour of the pull request. |
We have a slightly unconventional layout for some of our projects that means the .git folder may not be in the project.rootProject.file('.git') location. Also the code in GitInfoService uses the project path and not the root .git location
def grgit = Grgit.open(currentDir: project.projectDir)
Also in one case we have a git repo where the java project is not at the root directory so we need a way to specify the location of the .git location.
The text was updated successfully, but these errors were encountered: