Replace deprecated usage of project.buildDir
See gh-31845
This commit is contained in:
parent
045c5dc1b4
commit
dee8108bbc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue