You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
558 B
22 lines
558 B
description = 'Conscrypt: API Doclet'
|
|
|
|
|
|
java {
|
|
toolchain {
|
|
// Force Java 8 for the doclet.
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
// Java 8 doclets depend on the JDK's tools.jar
|
|
def compilerMetadata = javaToolchains.compilerFor(toolchain).get().metadata
|
|
def jdkHome = compilerMetadata.getInstallationPath()
|
|
def toolsJar = jdkHome.file("lib/tools.jar")
|
|
dependencies {
|
|
implementation files(toolsJar)
|
|
}
|
|
}
|
|
|
|
tasks.withType(Javadoc) {
|
|
// TODO(prb): Update doclet to Java 11.
|
|
enabled = false
|
|
}
|