aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dokka-gradle-plugin/src/main/kotlin/main.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/dokka-gradle-plugin/src/main/kotlin/main.kt b/dokka-gradle-plugin/src/main/kotlin/main.kt
index c214a08e..ecdeac78 100644
--- a/dokka-gradle-plugin/src/main/kotlin/main.kt
+++ b/dokka-gradle-plugin/src/main/kotlin/main.kt
@@ -95,7 +95,9 @@ public open class DokkaTask : DefaultTask() {
@InputFiles
@SkipWhenEmpty
- fun getIncludedFiles() : FileCollection = project.files(getSourceDirectories().map { project.fileTree(it) })
+ fun getInputFiles() : FileCollection = project.files(getSourceDirectories().map { project.fileTree(it) }) +
+ project.files(includes) +
+ project.files(samples)
@OutputDirectory
fun getOutputDirectoryAsFile() : File = project.file(outputDirectory)