diff --git a/build.gradle b/build.gradle index 1f93411..c4ef2db 100644 --- a/build.gradle +++ b/build.gradle @@ -104,7 +104,7 @@ spotless { java { target fileTree('.') { include '**/*.java' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**','**/BuildConstants.java' } toggleOffOn() googleJavaFormat().reflowLongStrings() @@ -148,7 +148,7 @@ spotless { format 'misc', { target fileTree('.') { include '**/*.md', '**/.gitignore' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/BuildConstants.java' } trimTrailingWhitespace() indentWithSpaces(2) diff --git a/src/main/java/org/robolancers321/BuildConstants.java b/src/main/java/org/robolancers321/BuildConstants.java index 7a9440c..c61d442 100644 --- a/src/main/java/org/robolancers321/BuildConstants.java +++ b/src/main/java/org/robolancers321/BuildConstants.java @@ -7,6 +7,7 @@ public final class BuildConstants { public static final String MAVEN_GROUP = ""; public static final String MAVEN_NAME = "321-Crescendo-2024"; public static final String VERSION = "unspecified"; + public static final int GIT_REVISION = 6; public static final String GIT_SHA = "6377635d69d5713f8f8b5400fc7a136abe5c431e"; public static final String GIT_DATE = "2024-01-21 18:36:14 EST"; @@ -15,5 +16,6 @@ public final class BuildConstants { public static final long BUILD_UNIX_TIME = 1706102320667L; public static final int DIRTY = 0; + private BuildConstants(){} }