Do not run the asciidoc documentation generation on JDK 5 as Gradle fails to generate a proxy for the AsciidoctorTask.
Better check for JDK 5
GROOVY-5436: Enable use of parameter list in SQL IN Clause