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, ) }