Better fix for getting the commit timestamp

This commit is contained in:
Melledy
2023-12-17 09:25:08 -08:00
parent f659662c70
commit f67e300495
2 changed files with 5 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ package emu.lunarcore;
public final class BuildConfig {
public static final String VERSION = \"${version}\";
public static final String GIT_HASH = \"${gitCommitHash()}\";
public static final long COMMIT_TIMESTAMP = ${gitCommitTime()};
public static final String GIT_TIMESTAMP = \"${gitCommitTime()}\";
}
"""
}