From a02abd33948916b20dac21f555ffa4073fe9f5c7 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Fri, 24 Feb 2017 15:07:48 -0600 Subject: [PATCH] Fix relative path issue in the build script. --- uploader/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/build.gradle b/uploader/build.gradle index 2eecd7f..36e4b81 100644 --- a/uploader/build.gradle +++ b/uploader/build.gradle @@ -18,7 +18,7 @@ task writeVersionFile( group: 'build', description: 'Write the version to VERSION.txt') { doLast { - (new File('build/classes/main/VERSION.txt')).text = version + (new File("${buildDir}/classes/main/VERSION.txt")).text = version } } build.dependsOn writeVersionFile