Skip to content

Commit

Permalink
Fix warning in doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Jul 23, 2024
1 parent 6e9a192 commit 656d08f
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 = file("$project.docsDir/javadoc-api")
destinationDir = project.java.docsDir.dir("javadoc-api").get().asFile
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(file("$docsDir/kdoc-api"))
outputDirectory.set(project.java.docsDir.dir("kdoc-api").get().asFile)
includes.from("$rootProject.rootDir/framework-docs/src/docs/api/dokka-overview.md")
}

Expand Down

0 comments on commit 656d08f

Please sign in to comment.