Skip to content

Commit

Permalink
phil gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Keobkeig committed Nov 23, 2023
1 parent 0d09d07 commit 15355b9
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2023.4.3"
id "com.diffplug.spotless" version "6.17.0"
id "com.diffplug.spotless" version "5.10.2"
}

allprojects {
Expand Down Expand Up @@ -89,14 +89,9 @@ spotless {
enforceCheck = false
java {
targetExclude("src/main/java/com/stuypulse/robot/commands/autons/*.java")
licenseHeader '''/************************ PROJECT JIM *************************/
/* Copyright (c) 2023 StuyPulse Robotics. All rights reserved.*/
/* This work is licensed under the terms of the MIT license. */
/**************************************************************/
licenseHeaderFile "LICENSE"

'''

// googleJavaFormat().aosp()
googleJavaFormat().aosp()

trimTrailingWhitespace()
endWithNewline()
Expand Down Expand Up @@ -133,4 +128,4 @@ wpi.java.configureTestTasks(test)
// Configure string concat to always inline compile
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
}
}

0 comments on commit 15355b9

Please sign in to comment.