diff --git a/build.gradle.kts b/build.gradle.kts index 98c1368486..e7dad31771 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,7 +75,7 @@ dependencies { tasks.register("aggregatedJavadocs") { description = "Generate javadocs from all child projects as if they were a single project" group = "Documentation" - destinationDir = layout.buildDirectory.dir("docs/javadoc").get().asFile + setDestinationDir(layout.buildDirectory.dir("docs/javadoc").get().asFile) title = "${project.name} $version API" (options as StandardJavadocDocletOptions).author(true) classpath = aggregatedJavadocClasspath