| Line 86... |
Line 86... |
| 86 |
}
|
86 |
}
|
| 87 |
|
87 |
|
| 88 |
// Forward the golden-capture flag into the forked test JVM so `-DcaptureGolden=true` re-records baselines.
|
88 |
// Forward the golden-capture flag into the forked test JVM so `-DcaptureGolden=true` re-records baselines.
|
| 89 |
test {
|
89 |
test {
|
| 90 |
systemProperty 'captureGolden', System.getProperty('captureGolden', 'false')
|
90 |
systemProperty 'captureGolden', System.getProperty('captureGolden', 'false')
|
| - |
|
91 |
// The golden harness rasterizes PDFs through PDFBox, whose font handling calls
|
| - |
|
92 |
// GraphicsEnvironment.getLocalGraphicsEnvironment(). Without this, the test JVM attaches to the
|
| - |
|
93 |
// macOS window server as a Foreground app and steals focus from the terminal on every run.
|
| - |
|
94 |
systemProperty 'java.awt.headless', 'true'
|
| 91 |
}
|
95 |
}
|
| 92 |
|
96 |
|
| 93 |
// Lint guard: forbid direct OkHttp / unconfigured Apache HttpClient construction outside
|
97 |
// Lint guard: forbid direct OkHttp / unconfigured Apache HttpClient construction outside
|
| 94 |
// HttpClientFactory. Failing this task => failing build. See HttpClientFactory.java for
|
98 |
// HttpClientFactory. Failing this task => failing build. See HttpClientFactory.java for
|
| 95 |
// the sanctioned construction path.
|
99 |
// the sanctioned construction path.
|