We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ad5170 commit 516abb0Copy full SHA for 516abb0
build.gradle
@@ -53,8 +53,12 @@ license {
53
excludes(['**/djb/Curve25519.java', '**/sshj/common/Base64.java'])
54
}
55
56
-release {
57
- grgit = org.ajoberstar.grgit.Grgit.open(project.projectDir)
+if (project.file('.git').isDirectory()) {
+ release {
58
+ grgit = org.ajoberstar.grgit.Grgit.open(project.projectDir)
59
+ }
60
+} else {
61
+ version = "0.0.0-no.git"
62
63
64
// This disables the pedantic doclint feature of JDK8
0 commit comments