Improved: Added line separator while while generating svn/git info footer.
@@ -638,6 +638,7 @@ task gitInfoFooter(group: sysadminGroup, description: 'Update the Git Branch-rev
revision = revisionOutput.toString()
gitFooterFile.delete()
gitFooterFile.createNewFile()
+ gitFooterFile << System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonBranch} : ' + "${branch}" + System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonRevision} : ' + "${revision}" + System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonBuiltOn} : ' + "${timestamp}" + System.lineSeparator()
@@ -663,6 +664,7 @@ task svnInfoFooter(group: sysadminGroup, description: 'Update the Subversion rev
def info = new XmlParser().parseText(svnOutput.toString())
svnFooterFile.delete()
svnFooterFile.createNewFile()
+ svnFooterFile << System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonBranch} : ' + "${info.entry.url.text()}" + System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonRevision} : ' + "${info.entry.commit.@revision}" + System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonBuiltOn} : ' + "${timestamp}" + System.lineSeparator()
