Skip to content

Commit 76fe1a4

Browse files
Use JDK11 to build javadoc of the internal-api-9 module (#6817)
1 parent 6d2f2ad commit 76fe1a4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

internal-api/internal-api-9/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ ext {
99
apply from: "$rootDir/gradle/java.gradle"
1010
apply plugin: "idea"
1111

12+
java {
13+
toolchain {
14+
languageVersion = JavaLanguageVersion.of(11)
15+
}
16+
}
17+
18+
tasks.withType(Javadoc) {
19+
javadocTool.set(javaToolchains.javadocToolFor(java.toolchain))
20+
}
21+
1222
[JavaCompile, GroovyCompile].each {
1323
tasks.withType(it).configureEach {
1424
setJavaVersion(it, 11)

0 commit comments

Comments
 (0)