aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-04-17 16:49:47 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-27 12:46:04 +0200
commit3cd12e14d7465c197d4a6fc76d073328a46db349 (patch)
tree21dada66ba759e883f2802d8ba6e1c63a51be1f4 /runners/gradle-plugin/src
parente3fdf22d59812c0e4903491085fac3d614128ae4 (diff)
downloaddokka-3cd12e14d7465c197d4a6fc76d073328a46db349.tar.gz
dokka-3cd12e14d7465c197d4a6fc76d073328a46db349.tar.bz2
dokka-3cd12e14d7465c197d4a6fc76d073328a46db349.zip
Fix problem with base plugin not being loaded in gradle runner
Diffstat (limited to 'runners/gradle-plugin/src')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt
index 4efc5010..2ece238f 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt
@@ -19,7 +19,7 @@ open class DokkaPlugin : Plugin<Project> {
loadDokkaVersion()
val dokkaRuntimeConfiguration = addConfiguration(project)
val pluginsConfiguration = project.configurations.create("dokkaPlugins").apply {
- defaultDependencies { it.add(project.dependencies.create("org.jetbrains.dokka:dokka-base:${DokkaVersion.version}")) }
+ dependencies.add(project.dependencies.create("org.jetbrains.dokka:dokka-base:${DokkaVersion.version}"))
}
addDokkaTasks(project, dokkaRuntimeConfiguration, pluginsConfiguration, DokkaTask::class.java)
addDokkaCollectorTasks(project, DokkaCollectorTask::class.java)