From c8437218060b4e332c2d140e59340615a83e92a7 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sat, 30 Apr 2016 17:20:27 -0400 Subject: [PATCH] build: check file exists before getting text --- jme3-core/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-core/build.gradle b/jme3-core/build.gradle index 39fe9bc3b..c8b311739 100644 --- a/jme3-core/build.gradle +++ b/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