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