build: check file exists before getting text

define_list_fix
Kirill Vainer 9 years ago
parent d6ffa4e9ff
commit c843721806
  1. 2
      jme3-core/build.gradle

@ -33,7 +33,7 @@ task updateVersionPropertiesFile {
"version.tag=${jmeVersionTag}"
outputs.upToDateWhen {
versionFile.text == versionFileText
versionFile.exists() && versionFile.text == versionFileText
}
doLast {
versionFile.text = versionFileText

Loading…
Cancel
Save