From fc0f3f7574198851be009dd62c720b8372344c95 Mon Sep 17 00:00:00 2001 From: ingo Date: Wed, 6 Jan 2016 18:22:49 +0100 Subject: gradle plugin: up-to-date status did not consider include and sample files --- dokka-gradle-plugin/src/main/kotlin/main.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dokka-gradle-plugin/src/main/kotlin/main.kt') 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) -- cgit