Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Load git repo from projectDir instead of current working directory#47

Open
squiddle wants to merge 1 commit intostianh:developfrom
conceptboard:fix-for-invalid-working-directory
Open

Load git repo from projectDir instead of current working directory#47
squiddle wants to merge 1 commit intostianh:developfrom
conceptboard:fix-for-invalid-working-directory

Conversation

@squiddle
Copy link

If the gradle project using the gitrelease plugin is not accessed from the
command line inside the gradle project it fails with an exception as it
cannot figure out what the git repository is.

This fix uses the projects projectDir as a starting point in finding the
git repository. This might cause issues if someone relied on this feature
and used the gitrelease plugin without having the working directory being
the projects checked out git repository.

This fix allows gradle projects using the gitrelease to be imported
into IntelliJ directly with the built-in gradle support.

If the gradle project using the gitrelease plugin is not accessed from the
command line inside the gradle project it fails with an exception as it
cannot figure out what the git repository is.

This fix uses the projects projectDir as a starting point in finding the
git repository. This might cause issues if someone relied on this feature
and used the gitrelease plugin without having the working directory being
the projects checked out git repository.

This fix allows gradle projects using the gitrelease to be imported
into IntelliJ directly with the built-in gradle support.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant