提交 93419551 编写于 作者: B Brian Clozel

Do not render PDF reference doc for SNAPSHOT builds

This commit ensures that only the HTML version of the reference
documentation is rendered for SNAPSHOT builds. This speeds up
significatly the build.

Issue: SPR-15885
上级 5460c009
......@@ -54,7 +54,11 @@ asciidoctor {
include '*.adoc'
}
logDocuments = true
backends = ["html5", "pdf"]
backends = ["html5"]
// only ouput PDF documentation for non-SNAPSHOT builds
if(!project.getVersion().toString().contains("BUILD-SNAPSHOT")) {
backends += "pdf"
}
options doctype: 'book', eruby: 'erubis'
attributes 'icons': 'font',
'idprefix': '',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册