Skip to content

Commit db6345e

Browse files
boxofroxPhyXTGears-1720
authored andcommitted
Force versionFile build task always out of date.
An attempt to always execute the versionFile build task and regenerate the version file, even when nothing else in the project is changed. This is done to ensure the version file never fails to update when building agaisnt another revision since the version file doesn't actually depend on anything else in the project. STATUS: Builds. - Justin C
1 parent 1ceceb1 commit db6345e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ model {
8888
}
8989

9090
task versionFile {
91+
outputs.upToDateWhen { false }
9192
doFirst {
9293
new File('src/main/deploy/version.txt').text = """
9394
========================================

0 commit comments

Comments
 (0)