Files
PhotonVision/build.gradle
Matt d3c23345da Use wpi::Now for image capture timestamp (#232)
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>
2021-01-17 14:57:21 -08:00

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')
}
}