You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am running generateGitProperties I get the following error message:
Execution failed for task 'generateGitProperties'.
> No signature of method: org.eclipse.jgit.internal.storage.file.FileRepository.getRef() is applicable for argument types: (java.lang.String) values: [HEAD]
Possible solutions: getAt(java.lang.String), getFS(), grep(), exactRef(java.lang.String), findRef(java.lang.String), getAllRefs()
It seems to be related to #107 .
As far as I can make out, gradle-git-properties:1.5.2 uses grgit:2.2.1 which in turn uses jgit:4.11.0.201803080745-r. In that version getRef is still availbale but marked as deprecated.
In later versions it is removed in favour of findRef.
Is it possible that somehow, somewhere a newer version of grgit or jgit is used?
The text was updated successfully, but these errors were encountered:
Never mind. I also had com.netflix.nebula:gradle-lint-plugin:latest.release included which used jgit:5.0.1.201806211838-r in its latest release. Downgrading it to 9.+ solves the issue
When I am running
generateGitProperties
I get the following error message:It seems to be related to #107 .
As far as I can make out,
gradle-git-properties:1.5.2
usesgrgit:2.2.1
which in turn usesjgit:4.11.0.201803080745-r
. In that versiongetRef
is still availbale but marked as deprecated.In later versions it is removed in favour of
findRef
.Is it possible that somehow, somewhere a newer version of
grgit
orjgit
is used?The text was updated successfully, but these errors were encountered: