aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt
index 48d874a8..3269395d 100644
--- a/runners/gradle-plugin/src/main/kotlin/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/main.kt
@@ -341,7 +341,7 @@ open class DokkaTask : DefaultTask() {
project.files(collectSourceRoots().map { project.fileTree(File(it.path)) }) +
project.files(fullClasspath.map { project.fileTree(it) }) +
project.files(includes) +
- project.files(samples.map { project.fileTree(it) })
+ project.files(samples.filterNotNull().map { project.fileTree(it) })
}
@OutputDirectory