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
plugins {
id 'org.kordamp.gradle.project' version '0.26.0'
id 'org.kordamp.gradle.bintray' version '0.26.0'
id 'com.gradle.build-scan' version '2.2.1'
id 'java'
id "com.diffplug.gradle.spotless" version "3.24.2"
}
then you get
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.getCurrent(BranchService.groovy:61)
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)
at org.kordamp.gradle.plugin.buildinfo.BuildInfoPlugin.configureBuildProperties(BuildInfoPlugin.groovy:110)
at org.kordamp.gradle.plugin.buildinfo.BuildInfoPlugin.access$0(BuildInfoPlugin.groovy)
at org.kordamp.gradle.plugin.buildinfo.BuildInfoPlugin$_configureProject_closure1.doCall(Bu
The text was updated successfully, but these errors were encountered:
If you add the (spotless plugin](
https://github.com/diffplug/spotless/tree/master/plugin-gradle):
then you get
The text was updated successfully, but these errors were encountered: