From 8516c3e1afde37bbce4b3c3de0209f5404cb2200 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Thu, 20 Aug 2020 13:25:53 +0200 Subject: Use `project.objects.fileCollection` instead of `project.files` for creating an empty collection --- .../kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runners/gradle-plugin') 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 = project.objects.safeProperty() @InputFiles - val sourceRoots: ConfigurableFileCollection = project.files() + val sourceRoots: ConfigurableFileCollection = project.objects.fileCollection() @Input val dependentSourceSets: SetProperty = project.objects.setProperty() -- cgit