From 199d2a7eea05bcc55614e4cfeb73f15ec5872eea Mon Sep 17 00:00:00 2001 From: solonovamax Date: Wed, 16 Oct 2024 00:51:00 -0400 Subject: [PATCH] Fix #3863 Recursively resolve directories using `.asFileTree.files` instead of `.files` Signed-off-by: solonovamax --- .../parameters/builders/DokkaSourceSetBuilder.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/builders/DokkaSourceSetBuilder.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/builders/DokkaSourceSetBuilder.kt index 4b397d1038..adb3e1615f 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/builders/DokkaSourceSetBuilder.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/parameters/builders/DokkaSourceSetBuilder.kt @@ -73,11 +73,11 @@ internal object DokkaSourceSetBuilder { sourceSetID = build(spec.sourceSetId.get()), // files - classpath = spec.classpath.files.toList(), - includes = spec.includes.files, - samples = spec.samples.files, - sourceRoots = spec.sourceRoots.files, - suppressedFiles = spec.suppressedFiles.files, + classpath = spec.classpath.asFileTree.files.toList(), + includes = spec.includes.asFileTree.files, + samples = spec.samples.asFileTree.files, + sourceRoots = spec.sourceRoots.asFileTree.files, + suppressedFiles = spec.suppressedFiles.asFileTree.files, ) }