• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1description = 'Conscrypt: API Doclet'
2
3
4java {
5    toolchain {
6        // Force Java 8 for the doclet.
7        languageVersion = JavaLanguageVersion.of(8)
8    }
9    // Java 8 doclets depend on the JDK's tools.jar
10    def compilerMetadata = javaToolchains.compilerFor(toolchain).get().metadata
11    def jdkHome = compilerMetadata.getInstallationPath()
12    def toolsJar = jdkHome.file("lib/tools.jar")
13    dependencies {
14        implementation files(toolsJar)
15    }
16}
17
18tasks.withType(Javadoc) {
19    // TODO(prb): Update doclet to Java 11.
20    enabled = false
21}
22