Skip to content

Commit 6dc17ce

Browse files
committed
Set classpath on Painless apiJavadoc task
so it also works on JDK 9
1 parent 6ea7ade commit 6dc17ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/lang-painless/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ integTestCluster {
4545
* Painless plugin */
4646
task apiJavadoc(type: Javadoc) {
4747
source = sourceSets.main.allJava
48+
classpath = sourceSets.main.runtimeClasspath
4849
include '**/org/elasticsearch/painless/api/'
4950
destinationDir = new File(docsDir, 'apiJavadoc')
5051
}

0 commit comments

Comments
 (0)