From 69b5c0cf2a12a85ad2fb6ecf7e83619316b2ca90 Mon Sep 17 00:00:00 2001 From: Cameron Earle Date: Sun, 18 Feb 2024 14:58:40 -0500 Subject: [PATCH] Update spotless and ignore RobotConstants --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 5bd35cfe..cada3a47 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id "java" id "edu.wpi.first.GradleRIO" version "2024.2.1" id "com.peterabeles.gversion" version "1.10" - id "com.diffplug.spotless" version "6.24.0" + id "com.diffplug.spotless" version "6.25.0" id "io.freefair.lombok" version "8.4" id "com.google.protobuf" version "0.9.4" } @@ -228,8 +228,8 @@ project.compileJava.dependsOn(spotlessApply) spotless { java { target fileTree(".") { - include "**/*.java" - exclude "**/build/**", "**/build-*/**" + include "src/**/*.java" + exclude "**/build/**", "**/build-*/**", "src/main/java/org/littletonrobotics/frc2024/BuildConstants.java" } toggleOffOn() googleJavaFormat()