mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-27 02:01:40 +00:00
Fixed testHeadless bug
This commit is contained in:
@@ -110,15 +110,13 @@ sourceSets {
|
||||
}
|
||||
|
||||
test {
|
||||
test {
|
||||
systemProperty "java.awt.headless", System.getProperty("java.awt.headless")
|
||||
useJUnitPlatform()
|
||||
}
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
task testHeadless(dependsOn: test) {
|
||||
task testHeadless(type: Test) {
|
||||
group = 'verification'
|
||||
test.systemProperty("java.awt.headless", "true")
|
||||
systemProperty("java.awt.headless", "true")
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
spotless {
|
||||
|
||||
Reference in New Issue
Block a user