diff options
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/dokkaTask.kt')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/dokkaTask.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt index c95d1039..825830c5 100644 --- a/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt @@ -183,9 +183,10 @@ open class DokkaTask : DefaultTask() { val gson = GsonBuilder().setPrettyPrinting().create() - val passConfigurationExtension: GradlePassConfigurationImpl? = this.extensions.findByName("passConfiguration") as GradlePassConfigurationImpl + val passConfigurationExtension: GradlePassConfigurationImpl? = this.extensions.findByName( + CONFIGURATION_EXTENSION_NAME) as GradlePassConfigurationImpl? val passConfigurationsContainer by lazy { - (this.extensions.getByName("passConfigurations") as Iterable<GradlePassConfigurationImpl>).toList() + (this.extensions.getByName(MULTIPLATFORM_EXTENSION_NAME) as Iterable<GradlePassConfigurationImpl>).toList() } passConfigurationExtension?.sourceRoots?.addAll(sourceRoots) |