Set classpath on Painless apiJavadoc task

so it also works on JDK 9
This commit is contained in:
Yannick Welsch 2017-08-23 14:45:15 +09:30
parent 4b813adf52
commit 0dbebd9177
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ integTestCluster {
* Painless plugin */
task apiJavadoc(type: Javadoc) {
source = sourceSets.main.allJava
classpath = sourceSets.main.runtimeClasspath
include '**/org/elasticsearch/painless/api/'
destinationDir = new File(docsDir, 'apiJavadoc')
}