aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-22 17:16:05 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-23 16:58:30 +0300
commit9733b4be121ae2cf21af99d63be4cdd7f87d1b2f (patch)
tree3845c57e6210512d162ed60447b700bee79ffa1f /runners
parentf94beaa25f07333ad47738d5d7fafdd3dd302b04 (diff)
downloaddokka-9733b4be121ae2cf21af99d63be4cdd7f87d1b2f.tar.gz
dokka-9733b4be121ae2cf21af99d63be4cdd7f87d1b2f.tar.bz2
dokka-9733b4be121ae2cf21af99d63be4cdd7f87d1b2f.zip
Fix compilation, after enabling JSR305
Diffstat (limited to 'runners')
-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