Skip to content

Commit 1fe1848

Browse files
committed
JAVA-2308: trim driver version string in Gradle build file
Fixes issue where the manifest can not be loaded by older version of Java
1 parent b78aa3f commit 1fe1848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def getGitVersion() {
119119
args 'describe', '--tags', '--always', '--dirty'
120120
standardOutput = os
121121
}
122-
outputAsString = os.toString().substring(1)
122+
outputAsString = os.toString().substring(1).trim()
123123
}
124124
return outputAsString
125125
}

0 commit comments

Comments
 (0)