mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
Add testHeadless gradle task to skip showing test images
This commit is contained in:
@@ -111,10 +111,16 @@ sourceSets {
|
||||
|
||||
test {
|
||||
test {
|
||||
systemProperty "java.awt.headless", System.getProperty("java.awt.headless")
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
task testHeadless(dependsOn: test) {
|
||||
group = 'verification'
|
||||
test.systemProperty("java.awt.headless", "true")
|
||||
}
|
||||
|
||||
spotless {
|
||||
java {
|
||||
googleJavaFormat()
|
||||
|
||||
Reference in New Issue
Block a user