aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-20 13:25:53 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-20 16:51:10 +0200
commit8516c3e1afde37bbce4b3c3de0209f5404cb2200 (patch)
tree33f22ef7cdc5062d3f2f8c4905afd5307c17c1fb /runners/gradle-plugin/src/main
parent96e70c4b1657aa59ddab8276b4b748a3f7df9ca8 (diff)
downloaddokka-8516c3e1afde37bbce4b3c3de0209f5404cb2200.tar.gz
dokka-8516c3e1afde37bbce4b3c3de0209f5404cb2200.tar.bz2
dokka-8516c3e1afde37bbce4b3c3de0209f5404cb2200.zip
Use `project.objects.fileCollection` instead of `project.files` for creating an empty collection
Diffstat (limited to 'runners/gradle-plugin/src/main')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt
index 3b26e1e9..bb44eb52 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt
@@ -49,7 +49,7 @@ open class GradleDokkaSourceSetBuilder constructor(
val displayName: Property<String?> = project.objects.safeProperty()
@InputFiles
- val sourceRoots: ConfigurableFileCollection = project.files()
+ val sourceRoots: ConfigurableFileCollection = project.objects.fileCollection()
@Input
val dependentSourceSets: SetProperty<DokkaSourceSetID> = project.objects.setProperty<DokkaSourceSetID>()