Skip to content

Commit 3a02731

Browse files
committed
Revert "Remove PDF backend"
This reverts commit 9f7d1ec.
1 parent b86b8d0 commit 3a02731

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

documentation/documentation.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.apache.tools.ant.taskdefs.condition.Os
2+
13
buildscript {
24
dependencies {
35
// upgrade to latest jruby version due to a bugfix needed for Windows 10.
@@ -102,6 +104,12 @@ asciidoctor {
102104

103105
backends 'html5'
104106

107+
// The PDF backend currently does not work on Linux
108+
// see https://github.com/junit-team/junit5/issues/1099
109+
if (Os.isFamily(Os.FAMILY_WINDOWS) || Os.isFamily(Os.FAMILY_MAC)) {
110+
backends 'pdf'
111+
}
112+
105113
attributes 'jupiter-version': version,
106114
'platform-version': platformVersion,
107115
'vintage-version': vintageVersion,

0 commit comments

Comments
 (0)