Skip to content

Commit

Permalink
Polish "Replace deprecated usage of project.buildDir"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Dec 18, 2023
1 parent dee8108 commit 8eb524d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework-api/framework-api.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ javadoc {
header = rootProject.description
use = true
overview = project.relativePath("$rootProject.rootDir/framework-docs/src/docs/api/overview.html")
destinationDir = layout.buildDirectory.dir("docs/javadoc-api").get().asFile
destinationDir = file("$project.docsDir/javadoc-api")
splitIndex = true
links(rootProject.ext.javadocLinks)
addBooleanOption('Xdoclint:syntax,reference', true) // only check syntax and reference with doclint
Expand All @@ -52,7 +52,7 @@ rootProject.tasks.dokkaHtmlMultiModule.configure {
tasks.named("javadoc")
}
moduleName.set("spring-framework")
outputDirectory.set(project.file("$buildDir/docs/kdoc-api"))
outputDirectory.set(file("$docsDir/kdoc-api"))
includes.from("$rootProject.rootDir/framework-docs/src/docs/api/dokka-overview.md")
}

Expand Down

0 comments on commit 8eb524d

Please sign in to comment.