mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Fixes #1564. Also copies vendordep JSONs to the examples as advised by Thad. Removes unused shared/javacpp/setupBuild.gradle. Also removes unnecessary `chmod +x gradlew` from CI workflows.
27 lines
477 B
Groovy
27 lines
477 B
Groovy
plugins {
|
|
id "com.diffplug.spotless" version "6.1.2"
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url = "https://maven.photonvision.org/releases" }
|
|
}
|
|
}
|
|
|
|
spotless {
|
|
java {
|
|
toggleOffOn()
|
|
googleJavaFormat()
|
|
indentWithTabs(2)
|
|
indentWithSpaces(4)
|
|
removeUnusedImports()
|
|
trimTrailingWhitespace()
|
|
endWithNewline()
|
|
}
|
|
java {
|
|
target "**/*.java"
|
|
}
|
|
}
|