diff --git a/build.py b/build.py index 77e3b8a25..6031244de 100755 --- a/build.py +++ b/build.py @@ -284,8 +284,7 @@ def build_binary(args): if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns: update_flags = True - last_commit = int(cmd_out(['git', 'log', '-1', r'--format=%at', 'HEAD'])) - if last_commit > flags_stat.st_mtime: + if os.stat('gradle.properties').st_mtime_ns > flags_stat.st_mtime_ns: update_flags = True if update_flags: