Skip to content

Git on WSL not being detected #841

@Maddin-M

Description

@Maddin-M

What happened?

I am on Windows and have Git not installed on my PC, but I use WSL and its Git installation, which works fine with IntelliJ and Android Studio overall. Then I tried to build a project that uses this plugin, and am greeted with the message: Git not found in project, pointing to this line:

val versionDetails: groovy.lang.Closure<com.palantir.gradle.gitversion.VersionDetails> by extra
val details = versionDetails()

Here's a screenshot of Android Studio correctly finding Git:
grafik

What did you want to happen?

I wanted gradle-git-version to detect Git and work normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions