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
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ javadoc {
header = rootProject.description header = rootProject.description
use = true use = true
overview = project.relativePath("$rootProject.rootDir/framework-docs/src/docs/api/overview.html") 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 splitIndex = true
links(rootProject.ext.javadocLinks) links(rootProject.ext.javadocLinks)
addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint