Skip to content

Commit

Permalink
Remove spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
twangodev committed Mar 3, 2024
1 parent 08332d2 commit 5e8a73a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 54 deletions.
42 changes: 0 additions & 42 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,45 +172,3 @@ gversion {
timeZone = "America/Los_Angeles"
indent = " "
}

// Spotless formatting
project.compileJava.dependsOn(spotlessApply)
spotless {
java {
target fileTree(".") {
include "**/*.java"
exclude "**/build/**", "**/build-*/**"
}
toggleOffOn()
googleJavaFormat()
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
}
groovyGradle {
target fileTree(".") {
include "**/*.gradle"
exclude "**/build/**", "**/build-*/**"
}
greclipse()
indentWithSpaces(4)
trimTrailingWhitespace()
endWithNewline()
}
json {
target fileTree(".") {
include "**/*.json"
exclude "**/build/**", "**/build-*/**"
}
gson().indentWithSpaces(2)
}
format "misc", {
target fileTree(".") {
include "**/*.md", "**/.gitignore"
exclude "**/build/**", "**/build-*/**"
}
trimTrailingWhitespace()
indentWithSpaces(2)
endWithNewline()
}
}
23 changes: 11 additions & 12 deletions src/main/java/org/rambots/BuildConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
* Automatically generated file containing build version information.
*/
public final class BuildConstants {
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "frc-2024";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 1;
public static final String GIT_SHA = "b55720df88c29f28dfcd9e76a0256378797c67ac";
public static final String GIT_DATE = "2024-01-12 08:28:13 PST";
public static final String GIT_BRANCH = "james/swerve";
public static final String BUILD_DATE = "2024-03-02 15:32:31 PST";
public static final long BUILD_UNIX_TIME = 1709422351326L;
public static final int DIRTY = 1;
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "frc-2024";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 4;
public static final String GIT_SHA = "08332d209d5099e406b9c6e408f1753c0f948987";
public static final String GIT_DATE = "2024-03-02 21:49:43 PST";
public static final String GIT_BRANCH = "james/swerve";
public static final String BUILD_DATE = "2024-03-02 21:54:52 PST";
public static final long BUILD_UNIX_TIME = 1709445292254L;
public static final int DIRTY = 1;

private BuildConstants() {
}
private BuildConstants(){}
}

0 comments on commit 5e8a73a

Please sign in to comment.