Skip to content

Commit

Permalink
Turn off PDF backend when generating the User-Guide
Browse files Browse the repository at this point in the history
Use JDK 11 for generating the snapshot version of the documentation.

Related issue: junit-team#1608
  • Loading branch information
sormuras committed Sep 29, 2018
1 parent 493e79b commit 35f2ac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
- secure: haIyH2wZSfmnH/oKJ0J1pMBl1wsYMhc26iOPunaMELKUgPCBC4+y5qYJBcG3/G9gy3qYYi3GdFLvHVkqxlAABTC5lcNyBqsU20SzKD6HNyf4rv7Dtv+x1GjI7Yz50zAaJyPnoQBdboMdevPTfczcCAf6mRvA5nmEZc1D1fbbGA8=
script: ./gradlew --scan publish -x check
- name: "Update snapshot documentation"
jdk: openjdk10 # asciidoctor does currently not work on Java 11, see https://github.com/jruby/jruby-openssl/issues/175
addons:
apt:
packages:
Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
classpath('org.jruby:jruby-complete:9.1.17.0')

// classpath('org.asciidoctor:asciidoctorj-epub3:1.5.0-alpha.16')
classpath('org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16')
// classpath('org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16')
classpath('org.asciidoctor:asciidoctorj-diagram:1.5.9')
}
}
Expand Down Expand Up @@ -103,7 +103,7 @@ asciidoctor {
}
}

backends 'html5', 'pdf'
backends 'html5' // does not work on Java 11: 'pdf' https://github.com/junit-team/junit5/issues/1608

attributes 'jupiter-version': version,
'platform-version': platformVersion,
Expand Down

0 comments on commit 35f2ac4

Please sign in to comment.