diff --git a/build.gradle b/build.gradle index 73a9d578bd3..6f7999493a9 100644 --- a/build.gradle +++ b/build.gradle @@ -736,6 +736,9 @@ def createJavadocTask(taskName, taskDescription, memberLevel) { } classpath = configurations.allProjects + if (isJava8) { + classpath += configurations.javacJar + } destinationDir.deleteDir() options.memberLevel = memberLevel