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:
What did you want to happen?
I wanted gradle-git-version to detect Git and work normally.
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:Here's a screenshot of Android Studio correctly finding Git:
What did you want to happen?
I wanted
gradle-git-version
to detect Git and work normally.