Fix relative path issue in the build script.

This commit is contained in:
Jonathan Bernard 2017-02-24 15:07:48 -06:00
parent ea817b2520
commit a02abd3394

View File

@ -18,7 +18,7 @@ task writeVersionFile(
group: 'build', group: 'build',
description: 'Write the version to VERSION.txt') { doLast { 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 build.dependsOn writeVersionFile