mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
33 lines
697 B
Groovy
33 lines
697 B
Groovy
plugins {
|
|
id "com.diffplug.gradle.spotless" version "3.28.0"
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
maven {
|
|
url = "https://maven.photonvision.org/repository/internal/"
|
|
}
|
|
maven {
|
|
url = 'https://frcmaven.wpi.edu:443/artifactory/development'
|
|
}
|
|
}
|
|
}
|
|
|
|
spotless {
|
|
java {
|
|
googleJavaFormat()
|
|
paddedCell()
|
|
indentWithTabs(2)
|
|
indentWithSpaces(4)
|
|
removeUnusedImports()
|
|
}
|
|
java {
|
|
target '**/*.java'
|
|
licenseHeaderFile "$rootDir/LicenseHeader.txt"
|
|
|
|
targetExclude('photon-core/src/main/java/org/photonvision/PhotonVersion.java')
|
|
}
|
|
}
|