Skip to content

Commit dee8108

Browse files
bohub12snicoll
authored andcommitted
Replace deprecated usage of project.buildDir
See gh-31845
1 parent 045c5dc commit dee8108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-api/framework-api.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ javadoc {
2828
header = rootProject.description
2929
use = true
3030
overview = project.relativePath("$rootProject.rootDir/framework-docs/src/docs/api/overview.html")
31-
destinationDir = file("${project.buildDir}/docs/javadoc-api")
31+
destinationDir = layout.buildDirectory.dir("docs/javadoc-api").get().asFile
3232
splitIndex = true
3333
links(rootProject.ext.javadocLinks)
3434
addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint

0 commit comments

Comments
 (0)