Skip to content

Commit

Permalink
capital punishment is abolished
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBinder committed Mar 12, 2024
1 parent ee7784a commit e187d2e
Showing 1 changed file with 23 additions and 37 deletions.
60 changes: 23 additions & 37 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ wpi.sim.addDriverstation()
// in order to make them all available at runtime. Also adding the manifest so WPILib
// knows where to look for our Robot Class.
jar {
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
from sourceSets.main.allSource
manifest edu.wpi.first.gradlerio.GradleRIOPlugin.javaManifest(ROBOT_MAIN_CLASS)
duplicatesStrategy = DuplicatesStrategy.INCLUDE
Expand All @@ -110,44 +114,26 @@ tasks.withType(JavaCompile) {
}

spotless {
java {
target fileTree('.') {
enforceCheck = false
java {
target fileTree('.') {
include '**/*.java'
exclude '**/build/**', '**/build-*/**'
}
toggleOffOn()
googleJavaFormat()
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
}
groovyGradle {
target fileTree('.') {
}
toggleOffOn()
googleJavaFormat()
indentWithSpaces(4)
removeUnusedImports()
trimTrailingWhitespace()
}

groovyGradle {
target fileTree('.') {
include '**/*.gradle'
exclude '**/build/**', '**/build-*/**'
}
greclipse()
indentWithSpaces(4)
trimTrailingWhitespace()
endWithNewline()
}
format 'xml', {
target fileTree('.') {
include '**/*.xml'
exclude '**/build/**', '**/build-*/**'
}
eclipseWtp('xml')
trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
}
format 'misc', {
target fileTree('.') {
include '**/*.md', '**/.gitignore'
exclude '**/build/**', '**/build-*/**'
}
trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
}
}
greclipse()
indentWithSpaces(4)
trimTrailingWhitespace()
}
}

0 comments on commit e187d2e

Please sign in to comment.