Fix relative path issue in the build script.
This commit is contained in:
parent
ea817b2520
commit
a02abd3394
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user