Replace deprecated usage of project.buildDir

See gh-31845
This commit is contained in:
bohub12
2023-12-14 22:05:27 +09:00
committed by Stéphane Nicoll
parent 045c5dc1b4
commit dee8108bbc

View File

@@ -28,7 +28,7 @@ javadoc {
header = rootProject.description
use = true
overview = project.relativePath("$rootProject.rootDir/framework-docs/src/docs/api/overview.html")
destinationDir = file("${project.buildDir}/docs/javadoc-api")
destinationDir = layout.buildDirectory.dir("docs/javadoc-api").get().asFile
splitIndex = true
links(rootProject.ext.javadocLinks)
addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint