aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-04-01 17:02:18 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-30 12:37:30 +0200
commit7f9d595f604e269fb918dc69cf2f80c19aef58c2 (patch)
tree132d84a71c3aae87894ecce9a618ca9df12f2dc7 /runners/maven-plugin/src/main
parentbadb811e6de55c460301ae3f911f3d7c0dc9e39e (diff)
downloaddokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.tar.gz
dokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.tar.bz2
dokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.zip
Adds possibility to configure plugins
Diffstat (limited to 'runners/maven-plugin/src/main')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index 49c6fba6..24d95ab4 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -249,7 +249,8 @@ abstract class AbstractDokkaMojo : AbstractMojo() {
},
generateIndexPages = generateIndexPages,
pluginsClasspath = getArtifactByAether("org.jetbrains.dokka", "dokka-base", dokkaVersion) +
- dokkaPlugins.map { getArtifactByAether(it.groupId, it.artifactId, it.version) }.flatten()
+ dokkaPlugins.map { getArtifactByAether(it.groupId, it.artifactId, it.version) }.flatten(),
+ pluginsConfiguration = mutableMapOf() //TODO implement as it is in Gradle
)
val gen = DokkaGenerator(configuration, logger)