Skip to content

Commit 9b3afcd

Browse files
committed
Merge pull request #31845 from bohub12
* pr/31845: Polish "Replace deprecated usage of project.buildDir" Replace deprecated usage of project.buildDir Closes gh-31845
2 parents 045c5dc + 8eb524d commit 9b3afcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework-api/framework-api.gradle

Lines changed: 2 additions & 2 deletions
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 = file("$project.docsDir/javadoc-api")
3232
splitIndex = true
3333
links(rootProject.ext.javadocLinks)
3434
addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint
@@ -52,7 +52,7 @@ rootProject.tasks.dokkaHtmlMultiModule.configure {
5252
tasks.named("javadoc")
5353
}
5454
moduleName.set("spring-framework")
55-
outputDirectory.set(project.file("$buildDir/docs/kdoc-api"))
55+
outputDirectory.set(file("$docsDir/kdoc-api"))
5656
includes.from("$rootProject.rootDir/framework-docs/src/docs/api/dokka-overview.md")
5757
}
5858

0 commit comments

Comments
 (0)