Trim whitespace from version variable

This commit is contained in:
Devin Bileck 2018-11-06 23:43:03 -08:00
parent c22ec40b87
commit 0625b1c037
No known key found for this signature in database
GPG key ID: C86D829C2399D073

View file

@ -259,7 +259,7 @@ configure(project(':monitor')) {
configure(project(':pricenode')) {
apply plugin: "org.springframework.boot"
version = file("src/main/resources/version.txt").text
version = file("src/main/resources/version.txt").text.trim()
jar.manifest.attributes(
"Implementation-Title": project.name,