mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
This uses the same time source as CSCore does for image captures, and will make latency measurements more accurate. Co-authored-by: Banks T <btrout.dhrs@gmail.com>
36 lines
792 B
Groovy
36 lines
792 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'
|
|
}
|
|
maven {
|
|
url = 'https://frcmaven.wpi.edu:443/artifactory/release'
|
|
}
|
|
}
|
|
}
|
|
|
|
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')
|
|
}
|
|
}
|