Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

One of setGitDir or setWorkTree must be called #228

@criztovyl

Description

@criztovyl
An exception occurred applying plugin request [id: 'org.ajoberstar.grgit', version: '1.6.0']
> Failed to apply plugin [id 'org.ajoberstar.grgit']
   > One of setGitDir or setWorkTree must be called.

I re-rerun with --stacktrack, which leads to org.ajoberstar.gradle.git.base.GrgitPlugin#apply

Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.

I think jgit changed the exception thrown if the no Git repo is found.

Will attach full stacktrace soon. Done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions