nemerosa/versioning

MissingMethodException with gradle 5.2.1

denisrossi opened this issue · 0 comments

Using gradle 5.2.1 and running the task versionDisplay the following error occurs:

Caused by: groovy.lang.MissingMethodException: No signature of method: org.eclipse.jgit.internal.storage.file.FileRepository.getRef() is applicable for argument types: (String) values: [HEAD]
Possible solutions: getAt(java.lang.String), getFS(), grep(), exactRef(java.lang.String), findRef(java.lang.String), getAllRefs()
        at org.ajoberstar.grgit.service.BranchService.current(BranchService.groovy:59)
        at org.ajoberstar.grgit.service.BranchService.getCurrent(BranchService.groovy:70)
        at net.nemerosa.versioning.git.GitInfoService.getInfo(GitInfoService.groovy:49)
        at net.nemerosa.versioning.SCMInfoService$getInfo.call(Unknown Source)
        at net.nemerosa.versioning.VersioningExtension.computeInfo(VersioningExtension.groovy:195)
        at net.nemerosa.versioning.VersioningExtension.getInfo(VersioningExtension.groovy:182)
        at net.nemerosa.versioning.VersioningExtension_Decorated.getInfo(Unknown Source)